pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Sat, 02 Jul 2011 20:16:32 -0400
Message-ID: <23461.1309652192@sss.pgh.pa.us> (raw)
In-Reply-To: <CA3516AB.469F3%dave-sa@pooserville.com>
References: <CA3516AB.469F3%dave-sa@pooserville.com>

Dave Pooser <dave-pg@pooserville.com> writes:
> OK, this is Solaris so there isn't an openldap-client or openldap-devel;
> there's only SUNWopenldap, which I installed.

Hmmm ....

> I'm pretty sure this is a Solaris-specific set of problems, starting with
> the fact that instead of libldap_r.so it's got libldap_r-2.4.so and the
> configure script can't sort that out even though nm shows that
> ldap_r-2.4.so does in fact have the function it's griping about
> (ldap_simple_bind) in both the 32-bit and 64-bit versions.

The Oracle documentation avers that "-lldap" ought to be sufficient;
see for example ldap_simple_bind page in
http://download.oracle.com/docs/cd/E19963-01/pdf/821-1466.pdf
and even without that evidence it's hard to believe that they'd expect
calling applications to hardwire a library version number into their
build scripts.

So I'm pretty sure that there *should* be a libldap_r.so someplace.
You could possibly try symlinking that to the version-numbered library.

If all else fails you could --disable-thread-safety.

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <23461.1309652192@sss.pgh.pa.us>
Permalink:  ../23461.1309652192@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23461.1309652192@sss.pgh.pa.us

 · 

reply

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: <23461.1309652192@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