From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 15 18:11:47 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0D7C16A508 for ; Sat, 15 Jul 2006 18:11:47 +0000 (UTC) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C4D43D45 for ; Sat, 15 Jul 2006 18:11:41 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id 7FFD88D67D; Sat, 15 Jul 2006 20:11:40 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03803-09-5; Sat, 15 Jul 2006 20:11:40 +0200 (CEST) Received: from [84.155.235.49] (p549BEB31.dip.t-dialin.net [84.155.235.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id F3D188D106; Sat, 15 Jul 2006 20:11:39 +0200 (CEST) Message-ID: <44B92FD7.90801@fs.ei.tum.de> Date: Sat, 15 Jul 2006 20:11:35 +0200 From: Simon 'corecode' Schubert User-Agent: Mail/News 1.5.0.4 (X11/20060619) MIME-Version: 1.0 To: Roland Dittel References: <62d3f75eb4400604406fdea341d91e41@web.de> In-Reply-To: <62d3f75eb4400604406fdea341d91e41@web.de> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB94E27FC8F767EF529D341F7" X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: hackers@freebsd.org Subject: Re: dlsym() on implicit loaded symbols X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jul 2006 18:11:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB94E27FC8F767EF529D341F7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Roland Dittel wrote: > Hi all, >=20 > We have a issue with dlsym() on symbols imported by a library that was = > loaded with dlopen(). Our code loads the libssl with dlopen() and then = > do a dlsym() on several symbols. This works for all symbols exported by= =20 > libssl itself but fails for symbols exported by libcrypto. Libssl is=20 > dynamically linked to libcrypto and should be loaded for libssl. I did = a=20 > truss and the FreeBSD loader loads libcrypto but does not read anything= =20 > from the file pointer. could you post a sample code fragment which illustrates the problem you a= re seeing? cheers simon --=20 Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low =E2=82=AC=E2=82=AC=E2=82=AC NOW!1 +++= Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --------------enigB94E27FC8F767EF529D341F7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (DragonFly) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEuS/ar5S+dk6z85oRArdiAKDhtRk45v1bvfX8+nhsOVwK3SCPNACgm0i4 iIuLdRSWUvoGex16+QBOW6s= =fs/r -----END PGP SIGNATURE----- --------------enigB94E27FC8F767EF529D341F7--