Hi!

>Dear Postgresql-experts,

Uh, that's what I'm not :)

>uranus% /home/lange/pgsql/local/bin/createdb testdb
>    ld.so.1: /home/lange/pgsql/local/bin/psql: fatal: libpq.so: open failed: No such 
>file or directory

Either you issue (if you're using bash)
$ export LD_LIBRARY_PATH=/home/lange/pgsql/local/lib
(you can put this line into your ~/.bashr)

of (if you have root privileges), you might edit /etc.ld.so.conf and add the line
/home/lange/pgsql/local/lib
to it, then run
$ ldconfig -v
This lists all the libraries, ldconfig finds. The pg_libs should be there.

BTW: This is described in the INSTALL file (Point 8.), too.

Stefan

Reply via email to