Muhammad aleem wrote:
> (1) ./configure
> (2) make
> (3) su
> (4) make install
> now whenever i run some example program given in /examples error occured as shown
> command: " # ./simple1 "
> Error : " ./simple1: error while loading shared libraries: libmysqlpp.so: cannot
> open shared object file: No such file or directory "
> I have Fedora Core 4 Installed
You missed a step: run ldconfig as root. ldd can't find libraries until
you do that.
Or, you can say something like this:
LD_LIBRARY_PATH=../lib ./simple1 locahost .... etc.
That will run the example with the library version that was built along
with the libraries, instead of the installed version.