dlsym() on implicit loaded symbols

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sat Jul 15 18:11:47 UTC 2006

Roland Dittel wrote:
> Hi all,
> 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 
> libssl itself but fails for symbols exported by libcrypto. Libssl is 
> dynamically linked to libcrypto and should be loaded for libssl. I did a 
> truss and the FreeBSD loader loads libcrypto but does not read anything 
> from the file pointer.

could you post a sample code fragment which illustrates the problem you are seeing?


Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060715/d7aebcb6/signature.pgp

More information about the freebsd-hackers mailing list