Hi Allen,
from your log, I guess your CentS is 64 bit, right?
Is the installed libcom_err also 64 bit or 32 bit?
The linker says the sitcom_err it finds is "incompatible" ...
Stefan
----- Reply message -----
From: "Allen Zhang"
To:
Subject: [MonetDB-users] compile error when build MonetDB 11.5.7 on CentOS 5.5
Date: Fri, Nov 4, 2011 01:07
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