[Reference:<_A4531@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en
[DeleGate-En] Re: OpenBSD 4.5 Compilation Issue
In message <_A4531@delegate-en.ML_> on 08/08/09(22:37:13)
you Gavin Norman <pweiqbdyi-qprr6uhssja6.ml@delegate.org> wrote:
|Didn't seem to help. Still getting the same errors.
Oh really? I tested it on OpenBSD4.4 and it worked.
Then I found an article explaining the problem:
<URL:http://archive.netbsd.se/?ml=openbsd-tech&a=2006-05&t=2002148>
It says:
> to make libcrypto.so available to a dlopened libssl, dlopen libcrypto first
> with the RTLD_GLOBAL flag
...
> dlopen("libcrypto.so", DL_LAZY|RTLD_GLOBAL);
My workaround as below in previous message has the same effect with the above.
|> #define RTLD_NOW 0x101
Cheers,
Yutaka
--
9 9 Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
( ~ ) National Institute of Advanced Industrial Science and Technology
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller
|