threads and openssl
Daniel Eischen
eischen at vigrid.com
Wed Nov 19 07:04:18 PST 2003
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
More information about the freebsd-threads
mailing list