On Sat, 27 Apr 2002, Benjamin Reed wrote:
> I assume this is a libtool bug in the openldap package?
You can get openldap to compile? I've been trying without success to build
openldap-2.0.19-1 for a couple of weeks now, and sent messages about it to
the Fink lists & Finlay Dobbie, but never got a response from any of it.
The error[s] I get begin as follows:
****************
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0.19/libraries/libldap/.libs
rm -f ../libldap.la
d=`pwd`; d=`basename $d`; cd ..; ln -s $d/libldap.la libldap.la; \
t=`basename libldap.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t
if test "no" = "yes"; then \
d=`pwd`; d=`basename $d`; b=`basename libldap.la .la`; \
cd .libs; t=`echo $b*.so`; (cd ../.. ; rm -f $t; \
ln -s $d/.libs/$t $t); \
if test "so" != dll; then \
t=`echo $b.so.?`; cd ../.. ; \
rm -f $t; \
ln -s $d/.libs/$t $t; \
fi \
fi
cc -fno-common -I../../include -I../../include -I/sw/include
-c -o apitest.o apitest.c
/bin/sh
/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0.19/libtool
--mode=link cc -fno-common -I../../include
cc -fno-common -I../../include -I../../include -I/sw/include
-L/Volumes/Applications/GNUWare/Fink/src/openldap-2.0.19-1/openldap-2.0
/usr/bin/ld: warning unused multiple definitions of symbol _ASN1_STRING_data
/sw/lib/libcrypto.dylib(asn1_lib.o) definition of _ASN1_STRING_data
/usr/lib/libcrypto.0.9.dylib(asn1_lib.o) unused definition of _ASN1_STRING_data
/usr/bin/ld: warning unused multiple definitions of symbol _ASN1_STRING_length
****************
Spiralling from there into tens of thousands of repeats & variations of
that last pair of lines, citing problems with bad definitions:
% grep ' definition' openldap_error | wc -l
103054
% grep ' definition' openldap_error | sed 's# .*##' | \
sed 's#(.*\.o) *##' | sort | uniq -c | more
28485 /sw/lib/libcrypto.dylib
14 /sw/lib/libncurses.dylib
5852 /sw/lib/libssl.dylib
34351 /usr/bin/ld:
15 /usr/lib/libSystem.dylib
28485 /usr/lib/libcrypto.0.9.dylib
5852 /usr/lib/libssl.0.9.dylib
Et cetera. Glottons for punishment are welcome to share this pain by
downloading http://homepage.mac.com/chdevers/fink/openldap_error.txt.gz
Any suggestions for diagnosing & fixing this would be eagerly accepted.
I'd really like to give openldap a try....
--
Chris Devers [EMAIL PROTECTED]
Apache / mod_perl / http://homepage.mac.com/chdevers/resume/
"More war soon. You know how it is." -- mnftiu.cc
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel