> after installation of postgresql 6.4.2 on my Freebsd machine I can
> not create a database
>
> bash-2.03$ createdb mydb
> ld.so failed: Can't find shared library "libpq.so.2.0"
> createdb: database creation failed on mydb.
>
> I have checked the permissons and the PATH env. Everything
> seems to be ok.
>
> I checked the lib/ dir for pqlib.so.2.0 and it is there.
>
> So wath can I do?
> Any hints?
likely you need to (as root):
# ldconfig -R /usr/local/pgsql/lib
(or whereever you installed the libraries)
--
[ Jim Mercer Reptilian Research jim@reptiles.org +1 416 410-5633 ]
[ The telephone, for those of you who have forgotten, was a commonly used ]
[ communications technology in the days before electronic mail. ]
[ They're still easy to find in most large cities. -- Nathaniel Borenstein ]