By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,811 Members | 1,978 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,811 IT Pros & Developers. It's quick & easy.

error loading shared libraries: libpq.so.3

P: n/a
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?
TIA

Patrick Hatcher


---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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 | mm******@unl.edu.ar
Programador, Administrador, DBA | Centro de Telemática
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.