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

psql error: cannot open libpq.so.3

P: n/a
Hi Tom,
THanks for your response. Here are my results:
-bash-2.05b$ ldd /usr/local/pgsql/bin/psql
libpq.so.3 => /usr/local/pgsql/lib/libpq.so.3 (0x40013000)
libz.so.1 => /usr/lib/libz.so.1 (0x4002f000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x4003d000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0x40069000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4006d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4009a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x400aa000)
libdl.so.2 => /lib/libdl.so.2 (0x400bf000)
libm.so.6 => /lib/libm.so.6 (0x400c2000)
libc.so.6 => /lib/libc.so.6 (0x400e3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
-bash-2.05b$

-bash-2.05b$ ldd /usr/local/pgsql/lib/libpq.so.3
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4004a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4005a000)
libc.so.6 => /lib/libc.so.6 (0x4006e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
-bash-2.05b$

______________________________________
Tom, I'm not really sure what this is telling me. What do I do next?
thanks,
Phil
__________________________________________________ ____________

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postgresql.org so that your
message can get through to the mailing list cleanly

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


P: n/a
Phil Campaigne <pc********@charter.net> writes:
-bash-2.05b$ ldd /usr/local/pgsql/lib/libpq.so.3
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001d000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4004a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4005a000)
libc.so.6 => /lib/libc.so.6 (0x4006e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
-bash-2.05b$ Tom, I'm not really sure what this is telling me. What do I do next?


Chase the libraries to see which one has an unresolved reference. All
those appear to be correctly resolved (ie, the linker found actual files
to list on the righthand side). So your problem is another level down,
or possibly even several levels down.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.