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

Resolve the RPATH situation #35

Open
hhyyrylainen opened this issue Dec 19, 2018 · 0 comments
Open

Resolve the RPATH situation #35

hhyyrylainen opened this issue Dec 19, 2018 · 0 comments

Comments

@hhyyrylainen
Copy link
Owner

I fixed linking with ld.gold by adding -Wl,--disable-new-dtags which is not optimal.

This should be somehow properly resolved.

The temporary fix was done in this commit: a6a0cb4

Some links:
http://blog.qt.io/blog/2011/10/28/rpath-and-runpath/
chros73/rtorrent-ps-ch#93
http://manpages.ubuntu.com/manpages/trusty/man1/ld.gold.1.html
https://medium.com/square-corner-blog/building-portable-binaries-50ca4f3d75cd
http://man7.org/linux/man-pages/man8/ld.so.8.html
https://stackoverflow.com/questions/26281813/what-is-ld-runpath
https://wiki.debian.org/RpathIssue
https://stackoverflow.com/questions/7967848/use-rpath-but-not-runpath (seems to say that using RPATH is fine when bundling dependencies, which is done here)
https://amir.rachum.com/blog/2016/09/17/shared-libraries/
https://stackoverflow.com/questions/17450573/how-to-actually-change-set-environment-variables-from-within-emacs

Changing linkers is done with sudo alternatives --config ld

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

No branches or pull requests

1 participant