CSS all pages

-lmysqlclient_r missing

  • mrixman
  • mrixman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
2 years 2 months ago - 2 years 2 months ago #170 by mrixman
mrixman created the topic: -lmysqlclient_r missing
Building on ARM on Ubuntu 16.04 I find a linker error when building mysql-connector:
/usr/bin/ld: cannot find -lmysqlclient_r

This fixed it: askubuntu.com/a/772250/449541 , the command was:
sudo ln -s /usr/lib/arm-linux-gnueabihf/libmysqlclient.so /usr/lib/arm-linux-gnueabihf/libmysqlclient_r.so

Might be worth at least documenting

Edit: this issue occurs on x86 as well, here's the fix:
sudo ln -s /usr/lib/x86_64-linux-gnu/libmysqlclient.so /usr/lib/x86_64-linux-gnu/libmysqlclient_r.so
Last Edit: 2 years 2 months ago by mrixman.

Please Log in or Create an account to join the conversation.

Time to create page: 0.031 seconds
Powered by Kunena Forum