Date: Wed, 19 Nov 2003 10:04:15 -0500 (EST) From: Daniel Eischen <eischen@vigrid.com> To: "Jacques A. Vidrine" <nectar@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: threads and openssl Message-ID: <Pine.GSO.4.10.10311191000250.14522-100000@pcnet5.pcnet.com> In-Reply-To: <20031119143357.GG28412@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Nov 2003, Jacques A. Vidrine wrote: > On Sat, Oct 11, 2003 at 12:48:31AM +0300, Petri Helenius wrote: > > Jacques A. Vidrine wrote: > >=20 > > >On Fri, Oct 10, 2003 at 11:52:13PM +0300, Petri Helenius wrote: > > >=20 > > > > > >>Jacques A. Vidrine wrote: > > >> =20 > > >> > > >>> =20 > > >>> > > >>I ended up putting CFLAGS+=3D-DOPENSSL_THREADS > > >>in make.conf and recompiling world. Works for me. > > >> > > >>However it would make sense to fix it more cleanly. > > > > > >You then linked against a threading library? Blew up here. > > > > > I=B4m sorry but I=B4m unable to follow your train of thought, please ex= plain. >=20 > Can't recall if I replied to this message already. >=20 > When I built OpenSSL with -DOPENSSL_THREADS, and then linked an > OpenSSL-using application with one of our threaded libraries, the > application crashed. $ ldd /usr/lib/libssl.so.3 # or wherever your libssl lies $ ldd ssl_application Are they using different thread libraries? I've never tried this, but just want to be sure you're not blowing up because different libraries are in use. --=20 Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10311191000250.14522-100000>