From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Greg Rudd Newsgroups: gmane.os.tru64.managers Subject: Open Ldap 2.1.22 compile woes on 5.1a Date: Fri, 22 Aug 2003 13:12:54 +1000 Organization: Univeristy of Sydney ITS Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200308221312.54049.g.rudd@isu.usyd.edu.au> Reply-To: g.rudd@isu.usyd.edu.au NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1061522015 15837 80.91.224.253 (22 Aug 2003 03:13:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2003 03:13:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Aug 22 05:13:33 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19q2Mn-0000xf-00 for ; Fri, 22 Aug 2003 05:13:33 +0200 Original-Received: (qmail 18046 invoked by uid 5); 22 Aug 2003 03:13:23 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18037 invoked by uid 49493); 22 Aug 2003 03:13:23 -0000 Original-Received: from g.rudd@isu.usyd.edu.au by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.2/5.0):. Processed in 0.523259 secs); 22 Aug 2003 03:13:23 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 22 Aug 2003 03:13:23 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HK0006VT3M9FN@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 21 Aug 2003 23:13:22 -0400 (EDT) Original-Received: from lorica.ucc.usyd.edu.au (lorica.ucc.usyd.edu.au [129.78.64.15]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HK000G3R3LKV7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 21 Aug 2003 23:12:57 -0400 (EDT) Original-Received: from oberon.ucc.usyd.edu.au (oberon.ucc.usyd.edu.au [129.78.64.20]) by lorica.ucc.usyd.edu.au (8.12.9/8.12.9) with ESMTP id h7M3CssB025259 for ; Fri, 22 Aug 2003 13:12:54 +1000 (EST) Original-To: tru64-unix-managers@ornl.gov User-Agent: KMail/1.4.3 X-RAVMilter-Version: 8.4.3(snapshot 20030401) (lorica) Xref: main.gmane.org gmane.os.tru64.managers:5170 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5170 Hi all Has anyone come accross the following problem when trying to compile=20 openldap-2.1.22 on 5.1a PK5 and has anyone found a way out Entering subdirectory libldap cc -pthread -arch host -I../../include -I../../include =20 -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/include=20 -I/usr/local/ssl/include/openssl -I/usr/local/include -c dntest.c /bin/sh /home/sysadmin/greg/openldap-2.1.22/libtool --mode=3Dlink cc -st= atic=20 -pthread -arch host -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib= =20 -L/usr/local/lib -o dntest dntest.o libldap.la=20 =2E./../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a = =20 -lssl -lcrypto =20 cc -pthread -arch host -o dntest dntest.o -L/usr/local/ssl/lib=20 -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib ./.libs/libldap.a=20 /home/sysadmin/greg/openldap-2.1.22/libraries/liblber/.libs/liblber.a=20 =2E./../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblut= il.a=20 -lssl -lcrypto ld: Unresolved: AC_GAI_STRERROR *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. I was thinking that this is this some compatability issue between Berkley= DB=20 and OPEN LDAP which in BerkleyDBs case uses the standard POSIX thread lib= rary=20 and OPEN LDAP which casuses the linker to bomb out=20 Configure options used --with-wrapers --without-threads Compiler used Compaq CC CFLAGS USED -pthread -arch host LDFAGS USED -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.1/lib=20 -L/usr/local/lib CPPFLAGS USED -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/ssl/includ= e=20 -I/usr/local/ssl/openssl/include -I/usr/local/include Note both GCC and Compaq CC were used with both giving the same results e= ven=20 when PTH thread libraries are compiled in Thanks in advance. -greg --=20 Greg Rudd Computer Systems Officer Information Technology Services University Of Sydney PH: +61 2 9351 5531 Fax +61 2 0351 6004 email: grudd@mail.usyd.edu.au ------------------------------------------------- /"\ ASCII Ribbon Campaign against HTML \ / email=20 X =20 / \ ------------------------------------------------- For more info on why you should not send html in email go to http://www.american.edu/cas/econ/htmlmail.htm