我试图按照here描述自己编译VLC
而build.sh
抛出此错误
make all-am
CCLD libvlccore.la
Undefined symbols for architecture x86_64:
"_iconv", referenced from:
__nl_find_msg in libintl.a(dcigettext.o)
(maybe you meant: _vlc_iconv_open, _vlc_iconv , _vlc_iconv_close )
"_iconv_open", referenced from:
__nl_find_msg in libintl.a(dcigettext.o)
(maybe you meant: _vlc_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libvlccore.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
我不知道应该做些什么。我正在运行Mac OS 10.8.4
和Xcode 4.6.2
答案 0 :(得分:2)
您可能需要删除对现有包管理器的引用,例如环境中的fink或macport。
为此,请在执行任何其他操作之前使用这些命令: https://wiki.videolan.org/OSXCompile#3rd_party_packagers_and_PATH