Mysql++ Libmysqlpp.so.3 Error

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Mysql++ Libmysqlpp.so.3 Error

Post 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
Honk if you love Jesus, text if you want to meet Him!
Locked