Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 37ECDB5D80A for ; Sat, 2 Jul 2011 21:17:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 23788-01 for ; Sun, 3 Jul 2011 00:17:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 26F10B5DBC6 for ; Sat, 2 Jul 2011 21:17:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p630GWPa023462; Sat, 2 Jul 2011 20:16:33 -0400 (EDT) To: Dave Pooser cc: pgsql-admin@postgresql.org Subject: Re: Help compiling --with-ldap on Solaris 11 Express? In-reply-to: References: Comments: In-reply-to Dave Pooser message dated "Sat, 02 Jul 2011 18:54:00 -0500" Date: Sat, 02 Jul 2011 20:16:32 -0400 Message-ID: <23461.1309652192@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/13 X-Sequence-Number: 37792 Dave Pooser 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