Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Becker__Neal
Beginner
60 Views

please add rpath ext/lib

python lib depends on libraries in ext/lib (e.g., libimf.so)

It is difficult to build against libpython.so because this information is missing, causing my builds to fail.  I have to remember

to modify the build to add this to rpath.  I believe you can add this rpath to any libs that need it, so that users won't need to modify their build scripts.

Thanks,

Neal

0 Kudos
1 Reply
Robert_C_Intel
Employee
60 Views

We add rpath:

> objdump -x /localdisk/rscohn1/miniconda3/envs/idp_b1/lib/libpython2.7.so | grep -i RPATH
objdump: /nfs/fx/home/rscohn1/miniconda3/envs/idp_b1/ext/lib/libz.so.1: no version information available (required by /usr/lib/libbfd-2.24-system.so)
  RPATH                $ORIGIN/.:$ORIGIN/../ext/lib

Could something be overriding the RPATH for you?