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

Mitchell Hashimoto mitchell.hashimoto at gmail.com
Fri Oct 8 07:00:06 UTC 2010


I'm using the Ruby/FFI libvirt library and getting this consistently
on Mac OS X:

ruby-1.9.2-p0 > FFI::Libvirt.virInitialize
dyld: lazy symbol binding failed: Symbol not found: _virThreadInitialize
  Referenced from: /usr/local/lib/libvirt.dylib
  Expected in: flat namespace

dyld: Symbol not found: _virThreadInitialize
  Referenced from: /usr/local/lib/libvirt.dylib
  Expected in: flat namespace

Trace/BPT trap

I exported DYLD_PRINT_LIBRARIES and it shows that libvirt.dylib is
loaded in the process space, but the above still occurs. When I
statically link into a C program it works fine, however. Anyone have
any idea what could be causing this?

If this doesn't get a response, I'll post it to the dev list, since
its perhaps relevant to them as well.

Thanks,
Mitchell




More information about the libvirt-users mailing list