Page 1 of 1

Linker error in libvlccore.la

Posted: 24 Sep 2012 00:46
by drurowin
In git ga9ebdde, linking libvlccore.la fails with

Code: Select all

CCLD libvlccore.la Undefined symbols for architecture x86_64: "_iconv_open", referenced from: __nl_find_msg in libintl.a(dcigettext.o) (maybe you meant: _vlc_iconv_open) "_iconv", referenced from: __nl_find_msg in libintl.a(dcigettext.o) (maybe you meant: _vlc_iconv_close, _vlc_iconv_open , _vlc_iconv ) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build command: ../extras/package/macosx/build.sh -k /Developer/SDKs/MacOSX10.6.sdk
OS Version: Mac OS X 10.6.8
Developer Tools version: 4.2

Re: Linker error in libvlccore.la

Posted: 04 Oct 2012 10:06
by scottlin
Hi drurowin,

I encounter exact the same error, would you please tell me how you solve it?
I already git to the last version of vlc.
And Build command is the same as yours.

Build command: ../extras/package/macosx/build.sh -k /Developer/SDKs/MacOSX10.6.sdk
OS Version: Mac OS X 10.6.8
Developer Tools version: 3.2.6

Re: Linker error in libvlccore.la

Posted: 30 May 2013 18:24
by Hanley
Hey scottlin. Did you ever fix this error? I'm running into the same exact thing and I can't figure it out. Thanks.

Re: Linker error in libvlccore.la

Posted: 07 Jun 2013 23:31
by Jean-Baptiste Kempf
This is an issue with some OSX versions. Use X.7 and the build script.