From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 23:20:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5C1516A4CE for ; Tue, 30 Mar 2004 23:20:12 -0800 (PST) Received: from hades.frm2.tu-muenchen.de (hades.frm2.tu-muenchen.de [129.187.179.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B9FD43D45 for ; Tue, 30 Mar 2004 23:20:09 -0800 (PST) (envelope-from jpulz@frm2.tum.de) Received: from hades.frm2.tu-muenchen.de (localhost [127.0.0.1]) i2V7K3Jv066027; Wed, 31 Mar 2004 09:20:03 +0200 (CEST) (envelope-from jpulz@hades.frm2.tu-muenchen.de) Received: (from jpulz@localhost)i2V7K3hr066026; Wed, 31 Mar 2004 09:20:03 +0200 (CEST) (envelope-from jpulz) Date: Wed, 31 Mar 2004 09:20:00 +0200 (CEST) From: Joerg Pulz To: Kirk Strauser In-Reply-To: <873c7qp5v8.fsf@strauser.com> Message-ID: <20040331091017.R31640@hades.frm2.tu-muenchen.de> References: <406941A7.7030704@niser.org.my> <873c7qp5v8.fsf@strauser.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Possibly OpenLDAP problems (was Re: Why all my applicationgiving me core dumped error?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2004 07:20:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 30 Mar 2004, Kirk Strauser wrote: > At 2004-03-30T09:45:11Z, Suhaimi Jamalludin 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-----