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

autoPatchelf: dont add workdir to rpath #67

Open
milahu opened this issue Jul 14, 2024 · 0 comments
Open

autoPatchelf: dont add workdir to rpath #67

milahu opened this issue Jul 14, 2024 · 0 comments

Comments

@milahu
Copy link
Owner

milahu commented Jul 14, 2024

setting interpreter of native/linux/x64/tor.tar.xz/tor
searching for dependencies of native/linux/x64/tor.tar.xz/tor
    libz.so.1 -> found: /nix/store/9nk7bsdlsmmnj96bivbvgqy491p65jdq-libz-1.2.8.2015.12.26-unstable-2018-03-31/lib
    libevent-2.1.so.7 -> found: /build/source/native/linux/x64/tor.tar.xz
    libssl.so.3 -> found: /build/source/native/linux/x64/tor.tar.xz
    libcrypto.so.3 -> found: /build/source/native/linux/x64/tor.tar.xz
setting RPATH to: /nix/store/9nk7bsdlsmmnj96bivbvgqy491p65jdq-libz-1.2.8.2015.12.26-unstable-2018-03-31/lib:/build/source/native/linux/x64/tor.tar.xz

the executable tor and the dependencies libevent-2.1.so.7 ... are in the same directory

the path /build/source/native/linux/x64/tor.tar.xz/ is only valid on build time, but not on run time

adding workdir to rpath is ok if the path is also valid on run time
in effect, if workdir is in /nix/store

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

No branches or pull requests

1 participant