Displaying 1 result from an estimated 1 matches for "setdlopenflag".
Did you mean:
setdlopenflags
2019 Dec 13
0
dlopen RTD_LAZY and RTLD_GLOBAL
All,
I use a code which has a python (I use python36) wrapper loading shared
libraries. The code worked fine in RHEL 7 but as I was testing it on
Centos 8, python cannot import the shared library (the import is done via
dlopen with flags set as
> sys.setdlopenflags(os.RTLD_LAZY | os.RTLD_GLOBAL)
python then does a bunch of imports and most results in a shared library
with indefined symbols. Somthing like:
> from .w3dpy import *
> ImportError:
> /usr/local/lib64/python3.6/site-packages/warp/w3dpy.cpython-36m-x86_64-linux-gnu.so:
undefined...