是否有人在Leopard上成功运行使用libspotify编译的东西?我有10.5.8的英特尔Mac,似乎无法让它工作。我将libspotify 12.1.51扔到/ Library / Frameworks并用
编译了“stub”示例gcc -o stub main.c ../appkey.c -framework libspotify
它编译并链接OK,但是当我运行它时
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
所以bzero()是一个用于重置内存的遗留函数,它的实现显然是从我的libc版本中遗漏的。是否有一些较旧/较新版本的OS X?