-
Notifications
You must be signed in to change notification settings - Fork 411
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
Error while loading shared libraries on AppImage run #405
Comments
The tested and supported way of using linuxdeployqt is https://github.com/probonopd/linuxdeployqt#using-linuxdeployqt-with-travis-ci - what happens if you follow that? |
@probonopd sorry, I put this to wrong topic again. I mean we use |
Sorry, I thought linuxdeploy is also Yours. What AppImage tool better to use? |
Your tools fails on Ubuntu 18.04 completely:
|
@akontsevich this is intentional. It does not fail, it actively prevents you from producing defective AppImages that would not work on all still-supported releases of Ubuntu. Please build your software on the oldest still-supported LTS release of Ubuntu or another similarly old distribution. The reasons are given in #340. |
I can't do as I have Ubuntu 18.04 as a requirement. |
For building? How are users that are not using that version of Ubuntu supposed to run your application then? |
Users use Ubuntu 18.04. |
@akontsevich please check out https://github.com/AppImageCrafters/appimage-builder/ |
Thanks @azubieta! Will try in case of a necessity. |
Hi @probonopd and @TheAssassin. As You may remember I was able to build and run AppImage successfully under CentOS 7.x based docker image here: AppImage/AppImageKit#998 (comment)
However when we migrate to Ubuntu 18.04 and added
libgdal
andboost
dependencies to the app some problems appeared with shared libraries on AppImage run:And this happens with tens or hundreds shared libraries so I can't solve the issue copying them manually to app lib dir like in the link above. So copying libraries like this:
does not work any more as there are too much libraries and previous 80 MB AppImage which worked everywhere grows now in more than 2 times and does not work. I saw
./linuxdeploy-x86_64.AppImage
output and it strips these libraries from final AppImage for some reason - see libs list above after addinggdal
andboost
(previously it was necessary to deploy manually only followinglibssl.so.1, libcrypto.so.1, libicui18n.so, libicuuc.so, libicudata.so
).See
./linuxdeploy-x86_64.AppImage
output: appimage_bug.txtIf I run create AppImage outside docker it builds and runs fine, however have size: 377 MB.
Any ideas? What the problem could be, how to solve? Thanks!
The text was updated successfully, but these errors were encountered: