Carsten Huettl wrote:
>
> Hello,
>
> 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?
>
> TIA
> C.
>
> --
> Carsten Huettl - <http://www.ahorn-Net.de>
> pgp-key on request
>
> ************
Did you add your pg libraries path into /etc/ld.so.conf
(/usr/local/postgres/libs is mine) and run ldconfig?
--
|---------------------------------|----------------------------|
| Hitesh Patel | Voice: (541) 759-3126 |
| Facilities Development Manager | Fax: (541) 759-3214 |
| Preferred Systems | Email: hitesh@presys.com |
|---------------------------------|----------------------------|