Posts: 14 218
Member No.: 1
Joined: 18-December 02
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.