-
Notifications
You must be signed in to change notification settings - Fork 71
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
go-appimage treats executables as libraries to set RPATH #314
Comments
Yeah that isn't right and quite a problem for gimp since there is a directory for each plugin. |
The intended behavior is that only directories containing libraries should be added to RPATH.
Apparently somewhere directories not actually containing |
@probonopd GIMP plug-ins are stored in lib path, this way:
What is a library for go_appimage? go-appimage seems to consider a library whatever ELF files that it found recursively on lib path, independently of the *so extension, creating this monstruosity: |
Yes, I guess we need to change that by checking whether a path contains at least one file with the extension |
Does the build in #316 improve the situation? |
Running objdump -c on binaries from an .appimage produced by go-appimage reveals that the tool uses executables paths as suitables to be appended on RPATH, not only the paths of libraries.
As far I know, it is not common dynamically linkining to executables on Linux. That was a thing on very early versions of Windows but not anymore. This seems a error.
@Samueru-sama probably can share some words too
The text was updated successfully, but these errors were encountered: