Page 1 of 1

Mysql++ Libmysqlpp.so.3 Error

Posted: Fri Jan 14, 2011 10:11 pm
by Red Squirrel
Mysql++ is a real pain in the ass to get working, I forget the steps I took so I could finally compile my app, but when I tried to run the app I kept getting this error:

error while loading shared libraries: libmysqlpp.so.3: cannot open shared object file: No such file or directory

After pulling my hair for a couple days I finally found the answer.

This is what I had to do:

Add the line "/usr/local/lib" in the file "/etc/ld.so.conf.d/mysql-i386.conf"

Rather simple, once you know what you have to do. Why, I have no clue, but it fixed the error and the program now runs.

Archived topic from Iceteks, old topic ID:5380, old post ID:39837