Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 Mar 2004 17:10:39 -0600
From:      Edwin Culp <eculp@viviendaatualcance.com.mx>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: fix for libpthread
Message-ID:  <20040304171039.7c00skk00cgogw00@mail.viviendaatualcance.com.mx>
In-Reply-To: <20040304201317.GB75841@xor.obsecurity.org>
References:  <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org> <20040304062344.xy1sgw00040k80ww@mail.viviendaatualcance.com.mx> <20040304201317.GB75841@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Kris Kennaway <kris@obsecurity.org>:

> On Thu, Mar 04, 2004 at 06:23:44AM -0600, Edwin Culp wrote:
>> Quoting Alfred Perlstein <alfred@freebsd.org>:
>>
< SNIP >
>> I've been forced to compile a couple of ports by using 
>> CFLAGS+=-pthread in my
>> /etc/make.conf and it has solved the problem with them.  
>> net/openldap22-server
>> is an example.  Under normal conditions, I have it commented out.
>
> Hmm, that port indeed doesn't seem to be using threads in the
> build..did it used to?
Kris, I only know that by adding CFLAGS to the make.conf I now have:

/usr/local/libexec # ldd slapd
slapd:
         libldap_r.so.202 => /usr/local/lib/libldap_r.so.202 (0x2811f000)
         liblber.so.202 => /usr/local/lib/liblber.so.202 (0x2814f000)
         libssl.so.3 => /usr/lib/libssl.so.3 (0x2815b000)
         libcrypto.so.3 => /lib/libcrypto.so.3 (0x28188000)
         libfetch.so.3 => /usr/lib/libfetch.so.3 (0x2827a000)
         libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x28286000)
         libcrypt.so.2 => /lib/libcrypt.so.2 (0x28288000)
         libdb-4.2.so.2 => /usr/local/lib/libdb-4.2.so.2 (0x282a0000)
         libwrap.so.3 => /usr/lib/libwrap.so.3 (0x2834b000)
         libpthread.so.1 => /usr/lib/libpthread.so.1 (0x28353000)
         libc.so.5 => /lib/libc.so.5 (0x28376000)

libpthread.so.1  was previously libc_r.so.5 and I couldn't stop the crashes.
Maybe I needed to change something in /etc/libmap.conf but .... too late now:)

Thanks,

ed




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304171039.7c00skk00cgogw00>