[MonetDB-users] compile error when build MonetDB 11.5.7 on CentOS 5.5

Hi, When compile on CentOS 5.5, following error pop up, can any one tell me which version of libcom_err.so is needed for this MonetDB version? Thanks Allen make[5]: Entering directory `/usr/src/MonetDB-11.5.7/common/stream' /bin/sh ../../libtool --tag=CC --mode=link gcc -DLIBSTREAM -g -O2 -D_REENTRANT -version-info 2:2:0 -o libstream.la -rpath /usr/local/MonetDBAug2011-SP2/lib libstream_la-stream.lo -lbz2 -L/usr/kerberos/lib64 -lssl -lcrypto -ldl -lz -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -pthread libtool: link: gcc -shared -fPIC -DPIC .libs/libstream_la-stream.o -lbz2 -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -O2 -pthread -pthread -Wl,-soname -Wl,libstream.so.2 -o .libs/libstream.so.2.0.2 /usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err /usr/bin/ld: skipping incompatible /usr/lib/libcom_err.a when searching for -lcom_err /usr/bin/ld: cannot find -lcom_err collect2: ld returned 1 exit status

On 03-11-2011 18:40:41 -0500, Allen Zhang wrote:
We don't require libcom_err.so directly.
Not sure what/who added this kerberos stuff to your C/LDFLAGS. Can you check your environment for CFLAGS, CPPFLAGS and LDFLAGS? My bet is you're trying to compile 64-bits, but only 32-bits libraries are found/installed (or vice versa).
/usr/bin/ld: skipping incompatible /usr/lib/libcom_err.so when searching for -lcom_err

Yes, the system is 64bit, but it had both i386 and x86_64 devel package installed, but without this libcom_err 64bit. Thanks, Fabian & Stefan! Allen On 11/4/11 2:39 AM, "Fabian Groffen" <Fabian.Groffen@cwi.nl> wrote:
participants (2)
-
Allen Zhang
-
Fabian Groffen