Libspotify on OS X 10.5 and the missing character

Does anyone successfully run material compiled using libspotify on Leopard? I have an Intel Mac with 10.5.8 and I just can't get it to work. I dropped my libspotify 12.1.51 into / Library / Frameworks and compiled a stub example with

gcc -o stub main.c ../appkey.c -framework libspotify

It compiles and references OK, but when I run it

dyld: lazy symbol binding failed: Symbol not found: ___bzero
  Referenced from: /Library/Frameworks/libspotify.framework/libspotify
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___bzero
  Referenced from: /Library/Frameworks/libspotify.framework/libspotify
  Expected in: /usr/lib/libSystem.B.dylib

So bzero () is an inherited function used to reset memory, and its implementation is apparently not in my libc document. Is this in some older / newer versions of OS X?

+5
source share

All Articles