Possibly OpenLDAP problems (was Re: Why all my applicationgiving
me core dumped error?)
Joerg Pulz
Joerg.Pulz at frm2.tum.de
Tue Mar 30 23:20:13 PST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 30 Mar 2004, Kirk Strauser wrote:
> At 2004-03-30T09:45:11Z, Suhaimi Jamalludin <suhaimi at 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-----
More information about the freebsd-questions
mailing list