/libexec/ld-elf.so.1: Shared object "libpq.so.4" not found

Started by Dino Vlietabout 19 years ago3 messagesgeneral
Jump to latest
#1Dino Vliet
dino_vliet@yahoo.com

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

____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

#2Martijn van Oosterhout
kleptog@svana.org
In reply to: Dino Vliet (#1)
Re: /libexec/ld-elf.so.1: Shared object "libpq.so.4" not found

On Wed, Feb 28, 2007 at 10:04:06AM -0800, Dino Vliet wrote:

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.

Undoubtably you've now got libpq.so.5 installed. You didn't have to
delete the old library (though I imagine it was done for you)

I haven't had the time to check out the postgresql database I had backed up.
Will I experience problems because of this?

The backend doesn't require the client library, so it's ok. If other
stuff works you got a library that works, just not the right one for
pgadmin.

Two options:
1) Recompile pgadmin for the new libpq
2) Install the old libpq as well as the new one

Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/

Show quoted text

From each according to his ability. To each according to his ability to litigate.

#3Palle Girgensohn
girgen@pingpong.net
In reply to: Dino Vliet (#1)
Re: /libexec/ld-elf.so.1: Shared object "libpq.so.4" not found

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:

Show quoted text

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.