Date: Wed, 31 Mar 2004 09:20:00 +0200 (CEST) From: Joerg Pulz <Joerg.Pulz@frm2.tum.de> To: Kirk Strauser <kirk@strauser.com> Cc: freebsd-questions@freebsd.org Subject: Re: Possibly OpenLDAP problems (was Re: Why all my applicationgiving me core dumped error?) Message-ID: <20040331091017.R31640@hades.frm2.tu-muenchen.de> In-Reply-To: <873c7qp5v8.fsf@strauser.com> References: <406941A7.7030704@niser.org.my> <873c7qp5v8.fsf@strauser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Mar 2004, Kirk Strauser wrote: > At 2004-03-30T09:45:11Z, Suhaimi Jamalludin <suhaimi@niser.org.my> writes: > > > I got some question regarding FreeBSD. Today I just install FreeBSD > > 5.2-RELEASE from CD. Then I cvsup port-all tag=. to the current one and > > complete the portupgrade -arR for update. I want to setup > > LDAP+SAMBA3. Then I install all the required ports. Then After I install > > samba-devel. my system going crazy it give me all these core dumped error. > > A few people have been reporting problems with programs that link against > OpenLDAP after a recent upgrade. I had a cascade of failures until I > temporarily removed the "ldap" entries from /etc/nsswitch.conf. If your > portupgrade -arR upgraded OpenLDAP, then you may be bitten by the same bug. > > For an example, see: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64932 > > I'm currently gathering information to submit more detailed debugging > information. Hi, i had the same problems here. the problem came up after an upgrade from OpenLDAP-2.2.6 to OpenLDAP-2.2.7 the problem is line 205 in net/openldap22-server/Makefile LIBS+= ${PTHREAD_LIBS} the libraries are expicitly linked against "c_r" which breaks everything. this change was introduced to fix threading problems on CURRENT system as the CVS log says. i can not check if it works on CURRENT but it definitly breaks the STABLE systems. solution: remove line 205 in net/openldap22-server/Makefile and recompile/reinstall the port and it will work. maybe the maintainer can say something more about the porblems on CURRENT. regards Joerg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAanEjSPOsGF+KA+MRAk/UAKDQ3wDGcrxIw1uEQWKLEq0KP2LNIQCcDpsD AA04oIWzjo6MuAJXc2kHfg4= =VO/E -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040331091017.R31640>