Possible problem with gettext

Jerry lanceboyle at qwest.net
Wed Jun 6 19:36:15 PDT 2012


On Jun 6, 2012, at 7:11 AM, Ryan Schmidt wrote:

> 
> On Jun 6, 2012, at 03:55, Jerry wrote:
> 
>> I'm trying to build LyX from the master branch from its git repository (not a Macports build per se) but I am using some Macports libraries as the build process sees fit.
>> 
>> I am seeing the link stage fail like this:
>> 
>> 
>> Undefined symbols for architecture x86_64:
>> "_iconv_open", referenced from:
>>     __nl_find_msg in libintl.a(dcigettext.o)
>> "_iconv", referenced from:
>>     __nl_find_msg in libintl.a(dcigettext.o)
>> 
>> 
>> I did this:
>> 
>> MBPro:lyx jb$ nm /opt/local/lib/libintl.a | grep iconv
>> nm: no name list
>> nm: no name list
>> nm: no name list
>>              U _libiconv
>>              U _libiconv_open
>>              U _libiconv_set_relocation_prefix
>> 
>> but I'm not sure how to interpret the results. Is there a problem in gettext?
> 
> I doubt there is a problem in gettext. It looks like "-liconv" is just missing from this project's LDFLAGS in this case.
> 
You are right. Thanks for the tip.
Jerry


More information about the macports-users mailing list