I've build moses 3.x previously without issue, but something has changed in
the last few months (fresh checkout this morning) and the build is now
failing on RHEL 7.x. I setup LIBRARY_PATH and CPATH to link with a locally
compiled zlib (the RHEL zlib is broken).

I use the following commands:
export LIBRARY_PATH=/usr/local/lib64
export CPATH=/usr/local/include
./bjam --with-cmph=/usr/local

It looks like it is generally failing in link steps trying to link x86
instead of x86_64 libraries (/usr/lib instead of /usr/lib64):

[mike@c7test mosesdecoder]$ file /usr/lib64/librt-2.17.so
/usr/lib64/librt-2.17.so: ELF 64-bit LSB shared object, x86-64, version 1
(GNU/Linux), dynamically linked,
BuildID[sha1]=82e77ade22bc9fff8d3458bd37331e7edf174c28, for GNU/Linux
2.6.32, not stripped
[mike@c7test mosesdecoder]$ file /usr/lib64/libSegFault.so
/usr/lib64/libSegFault.so: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked,
BuildID[sha1]=2fdc95c4323c554e206e16fb01571970c9c0afd5, for GNU/Linux
2.6.32, not stripped

Attachment: build.log.gz
Description: GNU Zip compressed data

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

Reply via email to