[SRILM User List] installation on mac lion error on negram class

mohsen jadidi mohsen.jadidi at gmail.com
Mon Mar 4 12:35:30 PST 2013


this is mine:

/usr/lib/libiconv.dylib: Mach-O universal binary with 2 architectures
/usr/lib/libiconv.dylib (for architecture x86_64): Mach-O 64-bit
dynamically linked shared library x86_64
/usr/lib/libiconv.dylib (for architecture i386): Mach-O dynamically linked
shared library i386


On Mon, Mar 4, 2013 at 8:20 PM, Roman Kutlak <kutlak.roman at gmail.com> wrote:

> You should check that you have libiconv in /usr/lib and that you have the
> 64bit version using the following command:
>
> file /usr/lib/libiconv.dylib
>
> You should see something like the following:
> /usr/lib/libiconv.dylib: Mach-O universal binary with 2 architectures
> /usr/lib/libiconv.dylib (for architecture i386): Mach-O dynamically
> linked shared library i386
> /usr/lib/libiconv.dylib (for architecture x86_64): Mach-O 64-bit
> dynamically linked shared library x86_64
>
> Roman
>
> On 4 Mar 2013, at 18:40, mohsen jadidi <mohsen.jadidi at gmail.com> wrote:
>
> Thanks but it didnt fixed the problem! Just removed the warnings
>
>
> On Mon, Mar 4, 2013 at 4:31 AM, Andreas Stolcke <stolcke at icsi.berkeley.edu
> > wrote:
>
>> On 3/3/2013 1:46 PM, mohsen jadidi wrote:
>>
>>> Hello everybody,
>>>
>>> I am trying to install versiobn 1.7 on mac, but it keeps giving me error:
>>>
>> The cc1plus warning should disappear if you change
>> common/Makefile.machine.macosx  to have
>>
>>    GCC_FLAGS = -Wreturn-type
>>    CC = cc $(GCC_FLAGS) -Wimplicit -Wimplicit-int
>>    CXX = c++ $(GCC_FLAGS) -DINSTANTIATE_TEMPLATES
>>
>> The link error seems to have something to do with the iconv library not
>> being properly installed for 64bit builds.
>> You might be able to work around this by building with
>>
>>     make NO_ICONV=1  ...
>>
>> I hope someone with MacOSX savvy can provide a way to make the linking
>> with -liconv actually work.
>>
>> Andreas
>>
>>
>>
>
>
> --
> Mohsen Jadidi
>  _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/mailman/listinfo/srilm-user
>
>
>
> _______________________________________________
> SRILM-User site list
> SRILM-User at speech.sri.com
> http://www.speech.sri.com/mailman/listinfo/srilm-user
>



-- 
Mohsen Jadidi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.speech.sri.com/pipermail/srilm-user/attachments/20130304/5a94fff0/attachment.html>


More information about the SRILM-User mailing list