libmysqlcppconn.so.5: cannot open shared object file: No such file or directory
I built a simple c++ application using Netbeans on ubuntu. in the application I use mysql_connection and curl. the application is working fine on my local system (Ubuntu)
when I tried to run the application on my Centos server I get this message:
error while loading shared libraries: libmysqlcppconn.so.5: cannot open shared object file: No such file or directory.
tried to check if the libmysqlcppconn.so.5 library exists on the server or not I found that there is the following:
REMOTE (Centos)
**in [/usr/local/lib]**
libmysqlcppconn-static.a
libmysqlcppconn.so@
libmysqlcppconn.so.7@
libmysqlcppconn.so.7.1.1.3*
LOCAL (Ubuntu)
**in [/usr/lib]**
libmysqlcppconn-static.a
libmysqlcppconn.so@
libmysqlcppconn.so.5@
libmysqlcppconn.so.5.1.1.0*
why can't the application run? How can I fix it?
Subject
Views
Written By
Posted
libmysqlcppconn.so.5: cannot open shared object file: No such file or directory
4280
June 08, 2014 03:29AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.