[libvirt-users] Mac OS X: dyld: lazy symbol binding failed

Justin Clift jclift at redhat.com
Fri Oct 8 08:50:52 UTC 2010


On 10/08/2010 07:36 PM, Mitchell Hashimoto wrote:
> Justin,
>
> I saw your commit into homebrew and I am actually trying that. Like I
> said, statically linking it to a test C program I wrote worked fine,
> but working over FFI and dynamically loading it failed with the quoted
> error message. I'm unsure how to proceed at this point. :)

No worries.  Does "_virThreadInitialize" exist in the dynamic library
on your system?

   $ nm /usr/local/lib/libvirt.dylib | grep Thread
   00000000001a9c40 d _virTLSThreadImpl
   00000000000125d0 T _virThreadInitialize
   0000000000012600 T _virThreadLocalGet
   0000000000012610 T _virThreadLocalInit
   00000000000125f0 T _virThreadLocalSet
   00000000000125e0 T _virThreadOnExit
   $

Guessing it probably does, but figured it's worth checking. :)

Regards and best wishes,

Justin Clift




More information about the libvirt-users mailing list