[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: dlopen fails from static binary
Date: Thu, 26 May 2016 02:24:02 +0000 (UTC)
From: christos%astron.com@localhost (Christos Zoulas)
In article <201605252317.u4PNH1wv026189%server.cornerstoneservice.ca@localhost>,
John Nemeth <jnemeth%cue.bc.ca@localhost> wrote:
>On Apr 18, 7:17am, Emmanuel Dreyfus wrote:
>} On netbsd-6, using dlopen in a static binary will return NULL without
>} setting errno.
> errno is for syscalls. dlopen is not a syscall, so why would
>you expect it to set errno?
What does dlerror() say?
As discussed in the thread last month, at
dlerror reports "Service unavailable".
We could change that as manu@ suggested to state more clearly that
dlopen is not available in statically linked binaries, although joerg@
seems to have something on his radar about making the static dlopen
`become more useful soon'.
Main Index |
Thread Index |