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

Поиск
Список
Период
Сортировка
Искать

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

От:
Dino 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



Need a quick answer? Get one in minutes from people who know. Ask your question on Yahoo! Answers.

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

От:
Martijn van Oosterhout <kleptog@svana.org>
Дата:
Вложения:
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      http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

От:
Palle Girgensohn <girgen@pingpong.net>
Дата:
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.

FAQ