From: | Dave Pooser <dave-pg(at)pooserville(dot)com> |
---|---|
To: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Help compiling --with-ldap on Solaris 11 Express? |
Date: | 2011-07-02 23:54:00 |
Message-ID: | CA3516AB.469F3%dave-sa@pooserville.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 7/1/11 9:21 AM, "Achilleas Mantzios" <achill(at)matrix(dot)gatewaynet(dot)com>
wrote:
>Looking in openldap-2.4.10/libraries/liblber/lber-int.h:94 i see :
>#define LBER_VALID(ber) ((ber)->ber_valid==LBER_VALID_BERELEMENT)
>the assertion fails for some reason.
>
>Could you make a proper reinstallation of the openldap related packages
>(openldap-client and possibly -devel),
>remove the manual symbolic link, and try to ./configure again?
OK, this is Solaris so there isn't an openldap-client or openldap-devel;
there's only SUNWopenldap, which I installed.
>You might change the --with-libs or --with-include part to match wherever
>your ldap client installation is located.
OK.
>Also, for the moment, drop the rest of --with- arguments, until you have
>a working postgresql with ldap,
>and you'll go gradually from there.
Well, dropping the rest of --with- arguments leaves me with:
./configure \
--with-ldap \
--with-libs=/usr/lib/amd64 \
--with-libs=/usr/sfw/lib/amd64 \
--with-includes=/usr/include/openldap
Which just gives a config error:
checking for ldap_simple_bind in -lldap_r... no
configure: error: library 'ldap_r' is required for LDAP
>Unfortunately i do not have a Solaris system to test.
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.
--
Dave Pooser
Cat-Herder-in-Chief, Pooserville.com
"...Life is not a journey to the grave with the intention of arriving
safely in one pretty and well-preserved piece, but to slide across the
finish line broadside, thoroughly used up, worn out, leaking oil, and
shouting GERONIMO!!!" -- Bill McKenna
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-07-03 00:16:32 | Re: Help compiling --with-ldap on Solaris 11 Express? |
Previous Message | Bob Lunney | 2011-07-01 19:29:52 | Re: Parallel pg_dump on a single database |