twenger26 wrote: <blockquote cite="mid9006470.post@talk.nabble.com" type="cite"><pre wrap="">
Andy Shellam (Mailing Lists) wrote: </pre><blockquote type="cite"><pre wrap="">twenger26 wrote: </pre><blockquote
type="cite"><prewrap="">I saw a previous post where someone had the same problem as I, but their
solution didn't work for me. I am trying to install pgadmin3 of FC6 and
I
keep getting the error: "libpq.so.5 is needed by pgadmin3-1.6.1-2.i386".
I
have two versions of postgresql on my system, but I am currently using
the
newer version of postgres which contains "libpq.so.5" in
/usr/local/pgsql/lib. I made sys-links to this file in /usr/lib and
usr/local/lib, but when I try to install it I get the same error. Is
there
some other way to get pgadmin to locate this postgresql library. </pre></blockquote><pre wrap="">Try linking the
libpq.so.5library in /lib as well.
Failing that, edit /etc/ld.so.conf, add "/usr/local/pgsql/lib" to the
bottom, and run "ldconfig."
Andy
</pre></blockquote><pre wrap="">
Sorry, I meant to say I had it in the /lib directory as well. I tried
running ldconfig with what you said and it didn't work doing it that way
either. When I run ld it says: "/usr/local/pgsql/lib is not a known
library" and the rpm still can't locate the libpq.so.5 file.
</pre></blockquote><br /> Ah sorry I've just re-read your original e-mail and thought you meant the error was when you
ranPgAdmin, not while trying to install the RPM.<br /><br /> I believe this is because the client libraries weren't
installedvia the RPM package manager (that's the problem I had back when I used Fedora.)<br /><br /> Try doing a
"force"'dinstall - (see rpm --help), I think it's something like "rpm --force -i /path/to/pgadmin.rpm".<br /><br /> You
mayget other libraries, particularly OpenSSL, that also need linking to /lib and /usr/lib etc. That worked for me on
FC5with PgAdmin 1.4.3.<br /><br /> HTH<br /><br /> Andy.<br />