Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetRasplex-debian64.1.0.1.bin doesn't work on ubuntu 18.04 - wants libpng12.so.0 #48

Open
akosmaroy opened this issue Oct 19, 2018 · 2 comments

Comments

@akosmaroy
Copy link

Hi,

GetRasplex-debian64.1.0.1.bin doesn't work on ubuntu 18.04:

$ sudo ./GetRasplex-debian64.1.0.1.bin 
./GetRasplex-debian64.1.0.1.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

whereas ubuntu 18.04 doesn't have libpng12:

$ apt-cache search libpng12
$ apt-cache search libpng
libpng-dev - PNG library - development (version 1.6)
libpng-tools - PNG library - tools (version 1.6)
libpng16-16 - PNG library - runtime (version 1.6)
fp-units-gfx - Free Pascal - graphics-library units dependency package
fp-units-gfx-3.0.4 - Free Pascal - graphics-library units
libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library
libpng-sixlegs-java - Sixlegs Java PNG Decoder
libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder
libpnglite-dev - lightweight C library for loading and writing PNG images
libpnglite0 - lightweight C library for loading and writing PNG images
pngquant - PNG (Portable Network Graphics) image optimising utility
ruby-oily-png - native mixin to speed up ChunkyPNG
tkpng - PNG photo image support to Tcl/Tk

possibly statically linking libpng12 would make it work on this platform as well

Akos

@Risca
Copy link
Member

Risca commented Oct 19, 2018

I also noticed that the other day. The libpng dependency comes from Qt, which I thought I compiled statically. However, libpng was probably linked dynamically. I think it should be possible to rebuild Qt either without libpng altogether, or statically link it

@Risca
Copy link
Member

Risca commented Oct 20, 2018

I took a stab at linking with a static libpng this weekend, but I was unable to make it work. Even if I make Qt link with a static libpng, Qt links dynamically with libfreetype which links dynamically with libpng. That's when I gave up this time.
I've compiled the installer on Ubuntu server 18.04 and attaching it here (packed with UPX and unpacked)
rasplex-installer.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants