-
Notifications
You must be signed in to change notification settings - Fork 429
Find libaries in non-standard places by considering the original RPATH (e.g., libpulsecommon-9.0.so) #52
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
Comments
Are you saying that running linuxdeployqt for a second time deletes the library from the created |
Yes, I noticed it and I believe these lines indicate just that:
But I have to mention that from my observations different things can happen even though I start out with a fresh folder. When I tried to reproduce this issue today, I ended up with results reverse to the ones described above (so first run no libpulsecommon, second run it appears) and on a third fresh try it fails to find libpulsecommon altogether. |
I am also having issues with libpulsecommon. It is very inconsistant.... sometimes it finds it sometimes it does not. http://aci.pangea.pub/job/mpipeline-blinken-appimage/job/master/53/parsed_console/ I have it set on verbose. |
@ScarlettGatelyClark @my-tien do you still encounter this? |
If it is of any help, I can verify that this still occurs with the CI build from commit: c21b171 |
@ThorstenBux just to verify, if you run |
No actually the other way round. When I run it the second time there is no error at all and the resulting .appImage works. (When trying to run the first resulting .appImage it doesn't start at all) |
OK thanks for the clarification @ThorstenBux. Yes, for now it is recommended to run |
Encountered the same problem when packaging my application, running twice did not help. It was solved using suggestion from #105, namely |
I think the proper thing would be to check every library for pre-existing rpaths to subdirectories of |
I'm running into a similar issue with Ubuntu 14.04. Running the tool again doe not correct the problem for me either.
However, when I
And now I - libpulsecommon-4.0.so => not found
libpulsecommon-4.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so (0x00007f4a48bd1000) I'm going to attempt @DKMudrechenko's |
The question is why (= by what mechanism) Any insights welcome. |
Are you sure it does? If it's never referenced directly, can't it just rely on the relationship inside |
the problem is that the libraries in a subdirectory of /usr/lib64 are not found by default calling |
@AlfredoCubitos on the build system, So, as the title implies, linuxdeployqt should consider the original RPATH when rewriting it. Then you will not need to modify files in |
hm, in my case So I assume the linker searches in the the standard library path and where are the libraries located defined in Of course, when you can fix this, modifying /etc/ld.so.conf isn't necessary ;-) There a lot discussions about this issue see here |
The problem is that
(When deploying libraries to the AppDir, As a workaround, you can |
Closed in 9a93e03 |
One of my binary’s dependencies is
libpulsecommon-9.0.so
.ldd
outputs correctly:When I run linuxdeployqt the first time,
libpulsecommon-9.0.so
is present in the newly created /lib folder. These are the relevant log outputs:But for another reason I ran linuxdeployqt twice, the second time
libpulsecommon-9.0.so
is missing and the output now reads:I noticed that
libpulsecommon-9.0.so
appears twice in the list of libraries found in ./AppRun.The text was updated successfully, but these errors were encountered: