Ive installed a new nagios32 bit vmware box and successfully restored my backup. I now get this error with ndo2db.
Starting ndo2db:/usr/local/nagios/bin/ndo2db: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
done.
[root@nagios32 mysql]# ls -la /usr/lib/mysql/
total 5900
drwxr-xr-x. 3 root root 4096 Jun 30 20:01 .
dr-xr-xr-x. 45 root root 20480 Jun 5 15:09 ..
lrwxrwxrwx 1 root root 26 Jun 30 19:48 libmysqlclient_r.so -> libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 26 Jun 30 20:01 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rwxr-xr-x 1 terry terry 1462756 Jun 30 19:47 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 26 Jun 5 15:04 libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
-rwxr-xr-x 1 root root 1536548 Apr 25 14:10 libmysqlclient_r.so.16.0.0
lrwxrwxrwx 1 root root 24 Jun 30 19:49 libmysqlclient.so -> libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 24 Jun 30 20:01 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
-rwxr-xr-x 1 terry terry 1452764 Jun 30 19:47 libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 24 Jun 5 15:04 libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 1525216 Apr 25 14:10 libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 13149 Apr 25 14:10 mysqlbug
-rwxr-xr-x 1 root root 6433 Apr 25 14:10 mysql_config
drwxr-xr-x 2 root root 4096 Jun 5 15:05 plugin
I've copied over the libmysqlclient.so.15 libraries and created symlinks. This has had no effect however.
What do I need to update in order for it to properly register?
solved: error loading shared library
-
tguadagnin
- Posts: 17
- Joined: Wed Mar 13, 2013 7:44 pm
solved: error loading shared library
Last edited by tguadagnin on Mon Jul 01, 2013 12:01 am, edited 1 time in total.
-
tguadagnin
- Posts: 17
- Joined: Wed Mar 13, 2013 7:44 pm
solved: error loading shared library
backed up ndo2db binary file before restoring over it. Copied it back after the restore and it works fine.