tech-userlevel archive

[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 Zoulas)

   In article <>,
   John Nemeth  <> 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'.

Home | Main Index | Thread Index | Old Index