Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

libmysqlcppconn.so.5: cannot open shared object file: No such file or directory (no replies)

$
0
0
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?

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>