tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dlopen fails from static binary



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?

christos



Home | Main Index | Thread Index | Old Index