[Build] mysqlclient fails not build on mint #750
Replies: 4 comments
-
The "libmG" library is nowhere to be found |
Beta Was this translation helpful? Give feedback.
-
Don't you set MYSQLCLIENT_LDFLAGS env var? |
Beta Was this translation helpful? Give feedback.
-
Thanks! Right. Probably I installed it long time in the path and I had MYSQL_CLIENT env vars set in my startup scripts for some past configuraiton. After I removed them it asked me to: Exception: Can not find valid pkg-config name.
Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env vars manually Which is probably what made me set the variables before. I looked a bit and set this instead: export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/ And it worked. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot @methane ! |
Beta Was this translation helpful? Give feedback.
-
What OS and which version do you use?
Linux Mint 22
How did you installed mysql client library?
Output from
pkg-config --cflags --libs mysqlclient
How did you tried to install mysqlclient?
uv pip install mysqlclient
Output of building mysqlclient
Beta Was this translation helpful? Give feedback.
All reactions