Hi, Thanks, there does seem to be something strange with the 32/64bit libraries. I do have both versions of openssl:
[EMAIL PROTECTED] clamav-0.88.4]# file /usr/lib/libssl.so /usr/lib/libssl.so: symbolic link to `../../lib/libssl.so.0.9.7a') [EMAIL PROTECTED] clamav-0.88.4]# file /lib/libssl.so.0.9.7a /lib/libssl.so.0.9.7a: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped [EMAIL PROTECTED] clamav-0.88.4]# file /lib64/libssl.so.0.9.7a /lib64/libssl.so.0.9.7a: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped So I tried compiling both ways: Export CFLAGS=-m64 Make distclean ./configure --prefix=/visp/p03/amavis --with-user=amavis --with-group=amavis --with-libcurl --with-zlib=/visp/p03/amavis Make ... gcc -shared matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo untar.lo special.lo binhex.lo is_tar.lo tnef.lo uuencode.lo -L/visp/p03/amavis/lib -lbz2 -lgmp -L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64 /usr/lib64/libidn.so -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lpthread -lnsl -Wl,-soname -Wl,libclamav.so.1 -o .libs/libclamav.so.1.0.17 /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libssl.a when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl Export CFLAGS=-m32 Make distclean ./configure --prefix=/visp/p03/amavis --with-user=amavis --with-group=amavis --with-libcurl --with-zlib=/visp/p03/amavis Make ... gcc -shared matcher-ac.lo matcher-bm.lo matcher.lo md5.lo others.lo readdb.lo cvd.lo dsig.lo str.lo scanners.lo filetypes.lo unrarlib.lo zzip-dir.lo zzip-err.lo zzip-file.lo zzip-info.lo zzip-io.lo zzip-stat.lo zzip-zip.lo strc.lo blob.lo mbox.lo message.lo snprintf.lo strrcpy.lo table.lo text.lo ole2_extract.lo vba_extract.lo msexpand.lo pe.lo cabd.lo lzxd.lo mszipd.lo qtmd.lo system.lo upx.lo htmlnorm.lo chmunpack.lo rebuildpe.lo petite.lo fsg.lo line.lo untar.lo special.lo binhex.lo is_tar.lo tnef.lo uuencode.lo -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -L/visp/p03/amavis/lib -lbz2 -L/usr/lib64 -lcurl -L/usr/kerberos/lib -L/usr/kerberos/lib64 /usr/lib64/libidn.so -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lpthread -lnsl -Wl,-soname -Wl,libclamav.so.1 -o .libs/libclamav.so.1.0.17 /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libssl.a when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.so when searching for -lssl /usr/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl Maybe gcc is misconfigured, because it's bringing in 64 bit libraries when I've specified -m32. It's the standard RHEL4AS package though. Len > > Your OpenSSL is 64-bit and you are compiling 32-bit ClamAV, > you can't mix. > Either try adding -m64 to CFLAGS, or get/compile 32-bit curl/OpenSSL. > > Cheers, > Henrik _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html