You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been stuck on this problem for a few days now and I cannot seem to figure out a way to fix it. My Google-fu has been coming up empty handed.
I have a shared library libA.so that I am exposing python bindings for. But libA.so doesn't expose the functions itself, it's handled through another shared library that does the indirection libApy.so. All the bindings are performed through lambda functions which redirect the the actual call.
In python, we'd import using import Apy. The shared library dependency looks like this:
libApy.so -> libA.so -> libAs required libraries
Everything has been working fine for months.
I recently added a new feature to libA.so that requires it to be linked with another library libB.so. libB is an external library that has its own shared lib dependencies. so the dependency looks like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I've been stuck on this problem for a few days now and I cannot seem to figure out a way to fix it. My Google-fu has been coming up empty handed.
I have a shared library
libA.so
that I am exposing python bindings for. ButlibA.so
doesn't expose the functions itself, it's handled through another shared library that does the indirectionlibApy.so
. All the bindings are performed through lambda functions which redirect the the actual call.In python, we'd import using
import Apy
. The shared library dependency looks like this:Everything has been working fine for months.
I recently added a new feature to
libA.so
that requires it to be linked with another librarylibB.so
.libB
is an external library that has its own shared lib dependencies. so the dependency looks like this:But now I'm getting this error everytime I try to
import Apy
I'm not even exposing any of the functions
libB
to the python bindings. Just the fact thatlibA
links tolibB
is causing this issue.I am not embedding the interpreter, I'm running from the command line using
python3 myscript_that_imports_libA.py
.Running
ldd libApy.so
shows that all libraries are linked and found correctly.Any help would be appreciated.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions