Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

please add rpath ext/lib

Becker__Neal
Beginner
1,184 Views

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
1,184 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?

0 Kudos
Reply