Re: Help compiling --with-ldap on Solaris 11 Express? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Help compiling --with-ldap on Solaris 11 Express?
Date
Msg-id 28239.1309707236@sss.pgh.pa.us
Whole thread Raw
In response to Re: Help compiling --with-ldap on Solaris 11 Express?  (Dave Pooser <dave-pg@pooserville.com>)
Responses Re: Help compiling --with-ldap on Solaris 11 Express?
List pgsql-admin
Dave Pooser <dave-pg@pooserville.com> writes:
> On 7/2/11 8:50 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> Most likely what is happening is that one of the other libraries called
>> by the postmaster is pulling in libldap_r --- a bit of research with ldd
>> should confirm or deny that.  If so, you could probably fix things by
>> hacking LDAP_LIBS_BE in the configured src/Makefile.global to pull
>> in libldap_r not libldap.

> That worked perfectly-- thanks so much for your help!

> Do you think this is a Solaris bug, or a Postgres bug, or is this a "works
> as designed but sysadmin is an idiot" situation? If it's the first, I
> might as well file a bug with Oracle, not that I expect them to be in any
> hurry to improve compatibility with a rival DB.

Hard to tell.  If we'd seen more cases like this, I'd be wondering how
to teach configure to look to see which version of libldap was in use by
other libraries the postmaster needs.  But this is the first such report
that I can recall, so I'm inclined to think it might be a misconfigured
library.  (On my Linux box, for example, a fully-featured postmaster
links only to libldap not libldap_r, which is the behavior we were
expecting.)

Did you identify what it was that was linked to libldap_r?

            regards, tom lane

pgsql-admin by date:

Previous
From: Dave Pooser
Date:
Subject: Re: Help compiling --with-ldap on Solaris 11 Express?
Next
From: Dave Pooser
Date:
Subject: Re: Help compiling --with-ldap on Solaris 11 Express?