Re: fix for libpthread

From: Edwin Culp <eculp_at_viviendaatualcance.com.mx>
Date: Thu, 4 Mar 2004 17:10:39 -0600
Quoting Kris Kennaway <kris_at_obsecurity.org>:

> On Thu, Mar 04, 2004 at 06:23:44AM -0600, Edwin Culp wrote:
>> Quoting Alfred Perlstein <alfred_at_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
Received on Thu Mar 04 2004 - 14:10:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC