Re: [Moses-support] Problem compiling moses

2010-08-19 Thread Barry Haddow
Hi Marco From scanning through the discussions you linked to, it appears that you have a rogue libz installation. The included header (which would normally be /usr/include/zlib.h) contains gzopen64 but the corresponding library (probably /usr/lib/libz.a) doesn't. You can check for the symbol

Re: [Moses-support] Problem compiling moses

2010-08-19 Thread marco turchi
Hi Barry your are right, I have: [turc...@hpc01p ~ ]# nm -C /usr/lib/libz.a | grep gzopen 14d0 T gzopen [turc...@hpc01p ~ ]# nm -C /usr/local/lib/libz.a | grep gzopen 0510 T gzopen 0500 T gzopen64 there is a libz.a in /usr/local/lib that includes the gzopen64.

Re: [Moses-support] Problem compiling moses

2010-08-19 Thread Barry Haddow
Hi Marco Well it looks like you have two zlib installations, and you're getting the include file from one and the library from the other. You should check that your zlib installations are complete (there should be an include file and a library in each, and note that moses will pick the dynamic