Re: [Fink-devel] openldap bug?

2002-04-27 Thread Benjamin Reed

Chris Devers [[EMAIL PROTECTED]] wrote:
> 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.

Well, as far as I know, finlay is no longer going to be the maintainer of
openldap.  There is a package in the submission tracker from Michael McKibben
that I've updated to 2.0.23 and it's building fine here, although it hasn't
been tested for upgradability yet.  You may want to give it a shot...

  
https://sourceforge.net/tracker/index.php?func=detail&aid=505984&group_id=17203&atid=414256

I'm assuming Michael will be taking over responsibility for the package.  If
not, I'm willing to, as I have a couple of packages I've made but can't release
because they depend on a working openldap.  =)

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] openldap bug?

2002-04-27 Thread Chris Devers

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



Re: [Fink-devel] openldap bug?

2002-04-27 Thread Benjamin Reed

David R. Morrison [[EMAIL PROTECTED]] wrote:
> Looks like a bug, alright.
> 
> Check out the openldap-ssl submission on the package submission tracker, and
> see if that has fixed it.  I'm just waiting for one final response from
> the submitter before committing the new one to CVS.

Correction... it fails building *if* I have the openldap package installed.
I removed it and the build continued.

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
A preposition is something one should never end a sentence with.

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] openldap bug?

2002-04-27 Thread Benjamin Reed

David R. Morrison [[EMAIL PROTECTED]] wrote:
> Looks like a bug, alright.
> 
> Check out the openldap-ssl submission on the package submission tracker, and
> see if that has fixed it.  I'm just waiting for one final response from
> the submitter before committing the new one to CVS.

The new openldap-ssl failed building for me:

---(snip!)---
cc -I/sw/include/db3 -fno-common -I../../include -I../../include -no-cpp-precomp 
-I/sw/include -L/sw/src/openldap-ssl-2.0.21-1/openldap-2.0.21/libraries -L/sw/lib -o 
slapd main.o daemon.o connection.o search.o filter.o add.o charray.o attr.o entry.o 
config.o backend.o result.o operation.o dn.o compare.o modify.o delete.o modrdn.o 
ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o 
str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o extended.o kerberos.o 
passwd.o schema.o schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o 
mr.o syntax.o oc.o configinfo.o starttls.o index.o sets.o root_dse.o sasl.o module.o 
suffixalias.o mods.o version.o libbackends.a -lavl -lldbm -lldif -llutil -lldap_r 
-llber -ldb -lsasl -lssl -lcrypto -ldl
/usr/bin/ld: Undefined symbols:
_ldap_pvt_sasl_install
_ldap_pvt_sasl_mutex_dispose
_ldap_pvt_sasl_mutex_lock
_ldap_pvt_sasl_mutex_new
_ldap_pvt_sasl_mutex_unlock
_ldap_pvt_sasl_secprops
---(snip!)---

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
Inside an atom are more little atoms.  Inside a little atom are more little,
little atoms! -- Alex Chiu, Immortality Inventor

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] openldap bug?

2002-04-27 Thread Benjamin Reed

David R. Morrison [[EMAIL PROTECTED]] wrote:
> Looks like a bug, alright.
> 
> Check out the openldap-ssl submission on the package submission tracker, and
> see if that has fixed it.  I'm just waiting for one final response from
> the submitter before committing the new one to CVS.

OK, I'm building right now...

One thing I've noticed, while building cyrus-sasl (dependency of openldap-ssl),
libtool gives this warning:

---(snip!)---
/bin/sh ../libtool --mode=link gcc  -Wall -W -I/sw/include/db3 -L/usr/local/lib 
-L/sw/lib -export-dynamic -module -rpath /sw/lib/sasl -o libdigestmd5.la  
-version-info 0:19:0 digestmd5.lo -ldes  
rm -fr .libs/libdigestmd5.la .libs/libdigestmd5.* .libs/libdigestmd5.*

*** Warning: This library needs some functionality provided by -ldes.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libdigestmd5.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
---(snip!)---

...this is because (at least on my system), the library is libdes524.dylib,
instead of libdes.

-- 
Benjamin Reed a.k.a. Ranger Rick ([EMAIL PROTECTED]) http://ranger.befunk.com/
So if you wear my Immortality Device, your cells will densen, and
bacterias will have a harder time conquering your body.
 -- Alex Chiu, Immortality Inventor

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] openldap bug?

2002-04-27 Thread David R. Morrison

Looks like a bug, alright.

Check out the openldap-ssl submission on the package submission tracker, and
see if that has fixed it.  I'm just waiting for one final response from
the submitter before committing the new one to CVS.

  -- Dave

___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel