0

我正在尝试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

4

1 回答 1

2

您可能需要在您的环境中删除对现有包管理器(如 fink 或 macports)的引用。

为此,请在执行任何其他操作之前使用这些命令: https ://wiki.videolan.org/OSXCompile#3rd_party_packagers_and_PATH

于 2014-06-19T08:07:09.827 回答