Thread: psql error: cannot open libpq.so.3
Thanks Tom, when I go down all files linked to libpq.so.3 end with a "statically linked" comment. I assume this is the desired result. However, I did find another libpq.so.3 in a different directory. When I ldd it I get "no such file or directory. Maybe the original installation by rpm put it there first. Could this problem be the result of upgrading a rpm installation with a source upgrade which put it in another directory, thus confusing psql? thanks, Phil
Phil Campaigne <pcampaigne@charter.net> writes: > However, I did find another libpq.so.3 in a different directory. When I > ldd it I get "no such file or directory. Hmm, maybe that's the one that's being found when psql is started? Seems like you need to look at exactly what search path is being used (check LD_LIBRARY_PATH, /etc/ld.so.conf, or whatever controls this on your system). Another possibility is that ldconfig needs to be run again to update ld.so.cache. regards, tom lane