Обсуждение: libber library not found on RC1

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

libber library not found on RC1

От
alexondi
Дата:
Hi!
I update server to RC1 version and after call pg_ctl to start I get this
error

opt/PostgreSQL/9.1/bin/pg_ctl: error while loading shared libraries:
liblber-2.3.so.0: cannot open shared object file: No such file or directory

But I have 2.4 version of this library. And I see in ldd pg_ctl that this
library was added in RC or why I can't start server without ldap auth?


--
View this message in context:
http://postgresql.1045698.n5.nabble.com/libber-library-not-found-on-RC1-tp4733621p4733621.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

Re: libber library not found on RC1

От
Tom Lane
Дата:
alexondi <alexondi@rambler.ru> writes:
> I update server to RC1 version and after call pg_ctl to start I get this
> error

> opt/PostgreSQL/9.1/bin/pg_ctl: error while loading shared libraries:
> liblber-2.3.so.0: cannot open shared object file: No such file or directory

> But I have 2.4 version of this library. And I see in ldd pg_ctl that this
> library was added in RC or why I can't start server without ldap auth?

How did you install RC1?  The only obvious explanation for this error is
that you are trying to use somebody else's executables that were built
for a different environment than you have (specifically, wanting
different revision numbers of some shared libraries).  If so, you may
need to build the software locally to get something that will work for
you.

            regards, tom lane

Re: libber library not found on RC1

От
Dave Page
Дата:
On Thu, Aug 25, 2011 at 3:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> alexondi <alexondi@rambler.ru> writes:
>> I update server to RC1 version and after call pg_ctl to start I get this
>> error
>
>> opt/PostgreSQL/9.1/bin/pg_ctl: error while loading shared libraries:
>> liblber-2.3.so.0: cannot open shared object file: No such file or direct=
ory
>
>> But I have 2.4 version of this library. And I see in ldd pg_ctl that this
>> library was added in RC or why I can't start server without ldap auth?
>
> How did you install RC1? =A0The only obvious explanation for this error is
> that you are trying to use somebody else's executables that were built
> for a different environment than you have (specifically, wanting
> different revision numbers of some shared libraries). =A0If so, you may
> need to build the software locally to get something that will work for
> you.

It's an installer bug that's being worked on at the moment (we added
LDAP support, and ran into an rpath issue).


--=20
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Re: libber library not found on RC1

От
stuartb81
Дата:
I had this issue after installing 9.1 on Ubuntu 10.10.  When i tried running
pg_dump I'd get this error:

"error while loading shared libraries: liblber-2.3.so.0: cannot open shared
object file: No such file or directory"

I got round this issue by copying a newer version of liblber and naming it
liblber-2.3.so.0, didn't make me feel good about myself but it works!

cp /usr/lib/liblber-2.4.so.2 /usr/lib/liblber-2.3.so.0

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/libber-library-not-found-on-RC1-tp4733621p5096820.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.