Package installed but loading failure v2.2.5 #738
metalalive
started this conversation in
General
Replies: 1 comment
-
PYTHONPATH is not where C library is searched. Use LD_LIBRARY_PATH envvar. Or specify rpath when building. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
Problem Description
Hi, I installed the package in a
pipenv
project , with following command :The build seems successful , according to the console message
When I try to load the package in my python shell , it reports following error :
libmariadb.so
even after the path is specified insys.path
mysql_character_set_name(...)
exists in mylibmariadb.so
, by building / running another C program I wrote.This is the output of
ldd
commandlibmariadb.so
listed in_mysql.cpython-312-x86_64-linux-gnu.so
, is it normal ?Thanks
Beta Was this translation helpful? Give feedback.
All reactions