Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 6326AB5DBCA for ; Sun, 3 Jul 2011 06:33:05 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 40058-02 for ; Sun, 3 Jul 2011 09:32:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.pooserville.com (mail.pooserville.com [69.26.223.253]) by mail.postgresql.org (Postfix) with ESMTP id F00C8B5DBC6 for ; Sun, 3 Jul 2011 06:32:58 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=mail.pooserville.com) by smtp.pooserville.com with esmtp (Exim 4.72) (envelope-from ) id LNR3UY-001UKP-1E; Sun, 03 Jul 2011 04:32:58 -0500 Received: from [69.26.223.2] (account dave-sa@pooserville.com HELO [192.168.67.90]) by mail.pooserville.com (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 965590; Sun, 03 Jul 2011 04:32:57 -0500 User-Agent: Microsoft-MacOutlook/14.12.0.110505 Date: Sun, 03 Jul 2011 04:23:34 -0500 Subject: Re: Help compiling --with-ldap on Solaris 11 Express? From: Dave Pooser To: Tom Lane , Message-ID: Thread-Topic: [ADMIN] Help compiling --with-ldap on Solaris 11 Express? In-Reply-To: <25175.1309657849@sss.pgh.pa.us> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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/18 X-Sequence-Number: 37797 On 7/2/11 8:50 PM, "Tom Lane" 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. -- 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