Re: error loading shared libraries: libpq.so.3

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: "Patrick Hatcher" <PHatcher(at)macys(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: error loading shared libraries: libpq.so.3
Date: 2003-11-22 21:08:44
Message-ID: 200311221808.45154.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El Sáb 22 Nov 2003 17:20, Patrick Hatcher escribió:
> Doing an upgrade on RH 8 box from 7.3.4 to 7.4 from source. The
> installation appeared go smoothly. I tried to reinstall my database using
> psql -d someda -f data.file and I get the error message:
> error while loading shared libraries: libpq.so.3: cannot open shared
> object file: No such file or directory exists.
> However, if I do a find for this file, I find it in my PG directory:
> /usr/local/postgresql7.4/lib
>
> I'm not sure what to do now. Any suggestions?

It's not in the library path.
Add /usr/local/postgresql7.4/lib to the /etc/ld.so.conf file and run ldconfig.
That should do it.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message CSN 2003-11-22 23:07:01 updated linux startup script?
Previous Message Ben 2003-11-22 21:03:02 Re: array iteration?