Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Mar 2000 08:05:20 -0500
From:      Jim Bloom <bloom@acm.org>
To:        Peter Wemm <peter@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/secure/lib/librsausa Makefile
Message-ID:  <38BE6710.B919C924@acm.org>
References:  <200003020522.VAA33833@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Are you sure about RTLD_GLOBAL?  It is documented as working, but I tried it
yesterday by putting RTLD_GLOBAL in every call to dlopen and it did not change
the behavior.  Maybe there is a bug in dlopen or dlsym in this regard?

Jim Bloom
bloom@acm.org

Peter Wemm wrote:
> 
> peter       2000/03/01 21:22:47 PST
> 
>   Modified files:
>     secure/lib/librsausa Makefile
>   Log:
>   Merge from internat.freebsd.org: add libcrypto to librsaUSA's symbol search
>   path so that ERR_load_strings() is found in certain circumstances
>   involving dlopen().  eg: main program dlopened foo.so which is linked
>   against libcrypto.  If libcrypto then dlopens librsaUSA.so, then it's
>   search path doens't find libcrypto (!).  One "fix" is to force
>   modules (eg main opening foo.so) to use the RTLD_GLOBAL flag, the other
>   is to explicitly declare dependencies (as done here).
> 
>   Revision  Changes    Path
>   1.2       +3 -1      src/secure/lib/librsausa/Makefile


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38BE6710.B919C924>