From: Warren Young Date: August 10 2006 12:35pm Subject: Re: Help Me: Running Examples List-Archive: http://lists.mysql.com/plusplus/5869 Message-Id: <44DB2823.8070709@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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.