Mysql: error while loading shared libraries libmysqlclient.s


#1

I 'm getting this error when I ./check_mysql: error while loading shared libraries: libmysqlclient.so.12: canno t open shared object file: No such file or directory

does anyone know how to fix this??

Thomas :?:


#2

do you have the mysql libraries installed? (should be the mysql-client poackage or something like that, depends much on what sort of OS you are running)

Luca


#3

I am running Redhat 9.0 , mysql version 4.0.21 and the mysql library
libmysqlclient.so.12 is installed in /usr/lib

Do I need to specify the path in a config file somewhere for the libmysqlclient.so.12 …nrpe.cfg…apache…nagios??


#4

i think it should find them automatically while during the configure phase compiling the plugins… not sure why it shouldn’t work…
Did you compile the plugins or are you using an RPM package?

Luca