On 7/1/11 9:21 AM, "Achilleas Mantzios" <achill@xxxxxxxxxxxxxxxxxxxxx> 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 -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin