ctypes.util.find_library cant find .so in the bundle

22 views
Skip to first unread message

Nicolas Rebagliati

unread,
Dec 18, 2020, 4:12:35 AM12/18/20
to PyInstaller
hello I'm having a problem, I have 3 .so in my bundle
but the module that needs them cant find them.
It uses ctypes.util.find_library to search them and cant find them.
I have added a little code to check it and its true, eh LD_LIBRARY_PATH is pointing to the bundle ok.
Any ideas?

bwoodsend

unread,
Dec 18, 2020, 11:24:43 AM12/18/20
to PyInstaller

Are you remembering to --add-binary=/path/to/library.so:. them? It should work fine with that.

Nicolas Rebagliati

unread,
Dec 22, 2020, 4:11:35 AM12/22/20
to PyInstaller
yes and I can see that the library is copied into the bundle.
Reply all
Reply to author
Forward
0 new messages