-
-
Notifications
You must be signed in to change notification settings - Fork 381
build v1.10.0, --enable-rpath, fails to rpath python lib #222
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
The rpath or finding dynamic libraries at runtime is a piece of system administration, not really our software. And I think in this case the solution may be in adding the library path for python 3.8 to the search path at runtime for dynamic libraries. For a Linux system over here that is Or perhaps there is other information elsewhere about adding dynamic library paths to the dynamic library search path list. The rpath option is exactly for this use case though, eg. a user wants to have some libraries in locations not listed by the system and the rpath option lists the directory of the library into the binary so it can be found. So perhaps use rpath because that solves this problem precisely. Since I got the impression that the problem is already solved, perhaps this is not that bug, or really some other issue like lack of documentation or so? |
hi
I think the simplest question is, if "--enable-rpath" config option ... , doesn't actually properly hardcode lib paths, which is its purpose, then what's it for here? if it's failing to properly rpath all/any, or just some, of the linked libs, then that's a bug imo. mod'ing LD_LIBRARY_PATH, a user-env changeable ENV var, is the wrong solution here for packaging. |
We have that option for packagers that want to disable rpath. But the description looks clear to me. The bug is that when you enable rpath, it does not add the python directory to the rpath directory list. Thanks for the report! Fixed it by adding the python lib directory to the rpath directory list (unless the lib dir is "/usr/lib" or "/usr/lib64"). |
* nlnet/master: - Fix for count of reply states in the mesh. Fix that it is --enable-rpath, for NLnetLabs#222. - Fix NLnetLabs#222: --with-rpath, fails to rpath python lib. - Document SNI support in unbound-anchor.8.in. - Update Changelog for PR NLnetLabs#221. - Enable SNI by default in unbound-anchor. Revert "- Remove SNI support from unbound-anchor; TLS is used only for" - Remove SNI support from unbound-anchor; TLS is used only for encryption and not validation. - Add SNI support on more TLS connections (fixes NLnetLabs#193). - Add SNI support to unbound-anchor. - Add doxygen documentation for DSCP. - Fix for posix shell syntax for trap in run_msg.sh test script. - Fix for posix shell syntax for trap in nsd-control-setup. - Fix help return code in unbound-control-setup script. - Fix NLnetLabs#220: auth-zone section in config may lead to segfault.
building
on linux/64, with
spec'ing this^ python to config, enabling rpath
python is found, but note, NO rpath'ing
builds/installs with NO error
but resulting bin is missing lib link,
OTOH, forcing the correct rpath'ing, building with
fixes the missing lib,
The text was updated successfully, but these errors were encountered: