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.
CU, Ingo