我需要检索 vorbis 和 vorbisenc 库来编译 C 程序。我尝试在http://xiph.org/downloads/中下载 vorbis 库源,但每次编译此库时都会出现问题。你知道我在哪里可以下载这些库(.h 和 .so)吗?
我在 MacOSX 上工作。谢谢
编辑:最后,我通过下载旧版本成功安装了库。但是现在,我在用这个库编译我的程序时遇到了另一个问题:
ld: warning: ignoring file /usr/local/lib/libFLAC.dylib, missing required architecture x86_64 in file /usr/local/lib/libFLAC.dylib (2 slices)
Undefined symbols for architecture x86_64:
"_sf_close", referenced from:
_main in ccucQ4qH.o
"_sf_open", referenced from:
_main in ccucQ4qH.o
"_sf_readf_double", referenced from:
_read_n_samples in ccucQ4qH.o
"_sf_strerror", referenced from:
_main in ccucQ4qH.o
ld: symbol(s) not found for architecture x86_64