Re: [GENERAL] ld.so failed - Mailing list pgsql-general

From jim@reptiles.org (Jim Mercer)
Subject Re: [GENERAL] ld.so failed
Date
Msg-id m11btpP-00080cC@mailbox.reptiles.org
Whole thread Raw
In response to ld.so failed  ("Carsten Huettl" <CHUETTL@ahorn.sgh.uunet.de>)
List pgsql-general
> 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 ]

pgsql-general by date:

Previous
From: "Shawn T. Walker"
Date:
Subject: Re: [GENERAL] ld.so failed
Next
From: "Yury Don"
Date:
Subject: Convert MS access database into PostgreSQL