On 2012-09-25 20:07:28 +0200, zeljko wrote: > On Tuesday 25 of September 2012 19:56:52 Leonardo M. Ramé wrote: > > Hi, I've installed PostgreSql from sources on a Linux machine, it's > > installed on /usr/local/pgsql. It's libraries are in > > /usr/local/pgsql/lib, and I updated my /etc/ld.so.conf to look there, > > but still, when I run a simple testing app written with lazarus I'm > > getting this: > > > > EInOutError : Can not load PostgreSQL client library "libpq.so". Check > > your installation > > > > What can be happening?. > > Loader does not see /usr/local/pgsql/lib directory > try > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /usr/local/pgsql/lib > from terminal and then start your app ./myapplication > > > zeljko >
Thanks zeljko, but it still doesn't work. I even tried export LD_LIBRARY_PATH=/usr/local/pgsql/lib Do you know a way to know where's the loader looking for libraries?, from command line. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
