team-phoenix / Phoenix

A multi-system emulator and library manager designed to be both powerful and easy to use.
http://phoenix.vg
GNU General Public License v2.0
377 stars 39 forks source link

Pre-alpha binaries depend on old Qt 5.5 libraries Fedora 25 does not distribute #328

Open JollyDevelopment opened 7 years ago

JollyDevelopment commented 7 years ago

Home built machine, Fedora 25, packages up to date. I downloaded and unzipped the "Phoenix-v0.0.1-pre-alpha-Linux-x64-full" file.

When I ran the Phoenix file from the command line I got a bunch of "./Phoenix: error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory" style errors.

I fixed those with symlinks to the local versions of the libs. I.e.: --sudo ln -s libicui18n.so.57.1 libicui18n.so.55 --sudo ln -s libicuuc.so.57.1 libicuuc.so.55 --sudo ln -s libpcre16.so.0.2.8 libpcre16.so.3

QT installed on my system: $ rpm -qa | grep qt qt5-qtwebchannel-5.7.1-2.fc25.x86_64 qt5-qtbase-common-5.7.1-10.fc25.noarch python-qt5-5.7-2.fc25.x86_64 qtsinglecoreapplication-2.6.1-28.fc24.x86_64 qt5-qttools-common-5.7.1-4.fc25.noarch qt5-qtconnectivity-5.7.1-2.fc25.x86_64 adwaita-qt5-0.97-1.fc25.x86_64 ibus-qt-1.3.3-12.fc25.x86_64 qt5-qtserialport-5.7.1-2.fc25.x86_64 qt5-qtwayland-5.7.1-2.fc25.x86_64 qt-settings-25-2.fc25.noarch qt5-qttools-libs-designer-5.7.1-4.fc25.x86_64 qt5-qtxmlpatterns-5.7.1-4.fc25.x86_64 dbusmenu-qt-0.9.3-0.11.20150604.fc24.x86_64 qt-4.8.7-18.fc25.x86_64 qt5-qtsvg-5.7.1-2.fc25.x86_64 qt-x11-4.8.7-18.fc25.x86_64 qt5-qtwebsockets-5.7.1-2.fc25.x86_64 python-qt5-webkit-5.7-2.fc25.x86_64 qtsingleapplication-2.6.1-28.fc24.x86_64 qtiocompressor-2.3.1-11.fc24.x86_64 qt-common-4.8.7-18.fc25.noarch qt5-qtsensors-5.7.1-3.fc25.x86_64 qt5-qttools-libs-help-5.7.1-4.fc25.x86_64 qt5-qtbase-gui-5.7.1-10.fc25.x86_64 qt5-qtdeclarative-5.7.1-5.fc25.x86_64 sni-qt-0.2.6-7.fc24.x86_64 qt5-qtwebkit-5.7.1-2.fc25.x86_64 qt5-qtmultimedia-5.7.1-2.fc25.x86_64 adwaita-qt4-0.97-1.fc25.x86_64 qt5-qttools-libs-clucene-5.7.1-4.fc25.x86_64 qt5-qtlocation-5.7.1-2.fc25.x86_64 qtlockedfile-2.4-21.20150629git5a07df5.fc24.x86_64 python-qt5-rpm-macros-5.7-2.fc25.noarch qt5-qtbase-5.7.1-10.fc25.x86_64 qt5-qtx11extras-5.7.1-2.fc25.x86_64 qt3-3.3.8b-68.fc25.x86_64 qt5-qtenginio-1.6.2-2.fc25.x86_64

I think that means I have qt5.

Now I am getting an error that I do not know how to track down: $ ./Phoenix ./Phoenix: symbol lookup error: ./Phoenix: undefined symbol: ucnv_getDefaultName_55

Am I missing something obvious?

athairus commented 7 years ago

Your issue has to do with the fact we compiled v0.0.1 back when Qt 5.5 was the newest version available. The executable expects 5.5 versions of the Qt libraries (and the last error is probably a failure to find the Qt 5.5 version of its bundled iconv). To get it working on Fedora 25 and other newer distros you'll have to recompile from source.

In future releases we'll definitely make this better for Linux users. Ideally by making it installable as a package.

DonPavlov commented 7 years ago

The Same Problem would be on Archlinux. I think it would be easier for Linux users to provide a Flatpak, Snap or Appimage. What would suit you best.Just choose one. To just include all the needed libs in a simple binary. Like on Macos.

probonopd commented 7 years ago

Check these examples for how to package up Travis CI builds as an AppImage.