postgresql-8-2 installs libpq.so.5. You need to upgrade pgadmin to
link with libpq.so.5, or you need to downgrade postgresql to 8.1.x.
Once you downgraded postgres, you can upgrade it again using
portupgrade; it will save a copy of libpq.so.4 in /usr/local/lib/
compat/pkg/, so as long as you have that path in you ldconfig path
(you should, unless you've modified som settings), it will work
without upgrading pgadmin.
Good luck!
/Palle
28 feb 2007 kl. 19.04 skrev Dino Vliet:
> Hi folks,
>
> when I start pgadmin3 on my system I get the following error:
>
> /libexec/ld-elf.so.1: Shared object "libpq.so.4" not found,
> required by "pgadmin3"
>
> The only thing I have done lately is upgrade the database to 8.2 in
> the freebsd ports system. Pgadmin did work in the past, so what
> could be the problem? I have a amd64 system running freebsd version
> 6.1.
>
> I haven't had the time to check out the postgresql database I had
> backed up.
> Will I experience problems because of this?
>
> Hope somebody can help me out,
>
> brgds
>
>
> Need a quick answer? Get one in minutes from people who know. Ask
> your question on Yahoo! Answers.