From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dave Pooser <dave-pg@pooserville.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Help compiling --with-ldap on Solaris 11 Express?
Date: Sun, 03 Jul 2011 11:33:56 -0400
Message-ID: <28239.1309707236@sss.pgh.pa.us> (raw)
In-Reply-To: <CA359F2E.46A87%dave-sa@pooserville.com>
References: <CA359F2E.46A87%dave-sa@pooserville.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dave-pg@pooserville.com
Subject: Re: Help compiling --with-ldap on Solaris 11 Express?
In-Reply-To: <28239.1309707236@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox