From dev-return-23153-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Apr 21 16:24:08 2010 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 2740 invoked from network); 21 Apr 2010 16:24:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Apr 2010 16:24:08 -0000 Received: (qmail 30067 invoked by uid 500); 21 Apr 2010 16:24:08 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 30027 invoked by uid 500); 21 Apr 2010 16:24:08 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 30020 invoked by uid 99); 21 Apr 2010 16:24:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 16:24:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.211.187 as permitted sender) Received: from [209.85.211.187] (HELO mail-yw0-f187.google.com) (209.85.211.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Apr 2010 16:24:00 +0000 Received: by ywh17 with SMTP id 17so1971455ywh.22 for ; Wed, 21 Apr 2010 09:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LiYoVno/TKzOyGyx9jKtN1b8fkETBaZ1k9KDWDPa0vs=; b=ThRyO9hAqOvvVs/OPDjCPlpeOeWTWNdiqfplYsJmmPINuPCZim8Jylfp8MFqb+f9Zn 5Gt5y2B69WmJZ8rfAEX1b+Bp0uTB5D4RNRJTDX9rIOOnGyNIWRY0GesrgPif1Uf7aKgB 84jAKPR41srm3hpUdLjv7KhSH8SHgKP3weAls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tv5N9/0Pm46PT//zdIU++rp555ovq1wC0K6F2bxNO5wFjkBA4LwbCZ0ofyBSnXTxiU ALO+k50MawagdEtje8tP/cVuBm0qdTsUULatNDcB1WBf1JBBaVznP7VIefKJjdQINZ6s fssFQEeN12rSAKiqemt8256Qjqz/lymsg6DbA= MIME-Version: 1.0 Received: by 10.100.191.18 with HTTP; Wed, 21 Apr 2010 09:23:38 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Apr 2010 12:23:38 -0400 Received: by 10.101.128.25 with SMTP id f25mr15033198ann.20.1271867018152; Wed, 21 Apr 2010 09:23:38 -0700 (PDT) Message-ID: Subject: Re: Building apr-util with ldap on AIX From: Jeff Trawick To: Robert Cooper Cc: dev@apr.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 21, 2010 at 11:45 AM, Robert Cooper wrote: > Hello, > > I am having trouble building apr-util with ldap on AIX.=A0 I have success= fully > build apr and openssl with the following options: > apr > CC=3D"gcc" ./configure -C --prefix=3D/usr/local/apr > openssl that's really openldap, right? > CC=3D"gcc" ./configure -C --enable-slapd --enable-hdb=3Dno --enable-bdb= =3Dno > --prefix=3D/usr/local/openldap > > I have tried building apr-util multiple times with different options.=A0 = Here > what I think is close to right: > CPPFLAGS=3D"-I/usr/local/openssl" LDFLAGS=3D"-L/usr/local/openssl" CC=3D"= gcc" > ./configure -C --prefix=3D/usr/local/apr-util \ > --with-apr=3D/usr/local/apr --enable-ldap --with-ldap don't you need "--with-ldap=3D/usr/local/openldap" ? > > Here is the output from the apr-util configure: > checking for ldap support... > checking for ldap_init in -lldap50... no > checking for ldap_init in -lldapssl41... no > checking for ldap_init in -lldapssl40... no > checking for ldap_init in -lldapssl30... no > checking for ldap_init in -lldapssl20... no > checking for ldap_init in -lldapsdk... no > checking for ldap_init in -lldapsdk... no > checking for ldap_init in -lldap... no > checking for ldap_init in -lldap... no > checking for ldap_init in -lldap... no > checking for ldap_init in -lldap... no > configure: error: could not find an LDAP library > Is there a file ldap_init that should exist in /usr/local/openssl? no, it is a function that should be found in libldap.so or one of those alternative library names like libldapssl41.so