Please give the version numbers for gcc, srilm, mac osx.

What changed from when you got the machine type of macosx-64?

Hieu
Sent while bumping into things

On 1 Jul 2013, at 03:26 AM, Li Xiang <[email protected]> wrote:

Hi,

I re-build the SRILM. The libraries are in lib/macosx like yours.
But I still can not build moses.

Undefined symbols for architecture x86_64:
  "_iconv_open", referenced from:
      File::fgetsUTF8(char*, int) in libmisc.a(File.o)
  "_iconv", referenced from:
      File::fgetsUTF8(char*, int) in libmisc.a(File.o)
  "_iconv_close", referenced from:
      File::~File() in libmisc.a(File.o)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

May any other tools error ?


2013/7/1 Hieu Hoang <[email protected]>

> What are your version numbers?
>
> I have
>   Mac OSX 10.7.5
>   gcc 4.2.1
>   SRILM 1.6.0
> I didn't have to change the script 'machine-type' in any way. When running
> it, it gives:
>    ./sbin/machine-type
>    macosx
> so the libaries are in
>     lib/macosx/
> Moses compiles ok with SRILM for me
>
> Perhaps try renaming your library to this directory.
>
> On 30 June 2013 17:07, Kenneth Heafield <[email protected]> wrote:
>
>> macosx-64 != macosx-m64
>>
>> Sorry if that was my typo.
>>
>> Your original e-mail said "I have compiled the SRILM by setting
>> machine-type=macosx-m64" so you should use --with-srilm-arch=macosx-m64 .
>>
>> If that doesn't work, I'll want your updated build output and ls
>> srilm/lib/macosx-m64 .  Also try an absolute path with --with-srilm.
>>
>> On 06/30/13 16:58, Xiang Li wrote:
>> > The SRILM libraries are inside the srilm/lib/macosx-m64, not inside
>> > one of the -L directories listed. I have added the option
>> > --with-srilm-arch=macosx-64. Why it can not locate the macosx-m64
>> > directory.
>> >
>> > Xiang Li
>> >
>> > 在 2013-6-30,22:58,Kenneth Heafield <[email protected]> 写道:
>> >
>> >> SRILM libraries inside one of the -L
>> >> directories listed?
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>


-- 
Xiang Li

<build.log>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to