Thursday, January 24, 2008

Adding new Library PATH

I am getting error when I create postgresql database. The error is

error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory



then i just add the library of postgres to /etc/ld.so.conf


include ld.so.conf.d/*.conf
/u01/postgres/postgresql/8.2.0/lib

Then I run :
/sbin/ldconfig

Thats it.

No comments:

Post a Comment