On 01/10/2013 03:29, Ingo Weinhold wrote: > On 10/01/2013 01:34 AM, Rene Gollent wrote: >> On 9/30/13, Rene Gollent <anevilyak@xxxxxxxxx> wrote: >>> The actual error being returned is B_NOT_SUPPORTED. For some reason, the >>> solver loading function is never getting called by pthread_once(), so >>> the >>> solver pointer is null. >> >> Found the problem: pthread_once() was returning 78 (Function not >> implemented). This turned out to be because get_package_dependencies >> wasn't being linked to libpthread. Adding that fixed it. Any >> recommendations as to how best to add that to the build? > > Please just add it to HOST_LINKFLAGS. And passing the flags to the > problematic dlopen() call is apparently also a good idea. I added a HOST_PTHREAD_LINKFLAGS variable, however it's not enough it seems, at least the linux manpage says "compile and link", so I guess it should go to C++Flags too. Anyway, even with this it fails, but that's cause dlopen() fails, I added a printf: imageHandle (nil) François.