Skip to content

Conversation

LeoBrizi
Copy link

@LeoBrizi LeoBrizi commented Jul 7, 2025

Hello, thanks for your work.
I had this error:
nm -D pyscancontext.cpython-312-x86_64-linux-gnu.so | grep constructTree
U _ZN9SCManager13constructTreeEv
The symbol SCManager::constructTree in the pyscancontext library was not defined. This was a link error.
I’ve fixed the Python wrapper link issues by first marking SCManager as exported so constructTree() shows up in libscancontext.so, and then setting RPATH so it automatically finds libscancontext.so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant