List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:August 10 2006 12:35pm
Subject:Re: Help Me: Running Examples
View as plain text  
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
> below
>  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.
Thread
Help Me: Running ExamplesMuhammad aleem9 Aug
  • Re: Help Me: Running ExamplesForums10 Aug
  • Re: Help Me: Running ExamplesWarren Young10 Aug