Hi,

I've just tried building 0.88.4, and then last night's snapshot, on a
RHEL4ES system:
[EMAIL PROTECTED] clamav-0.88.4]# uname -mspr
Linux 2.6.9-5.ELsmp x86_64 x86_64

The configure line was
./configure --prefix=/visp/p03/amavis --with-user=amavis
--with-group=amavis --with-libcurl --with-zlib=/visp/p03/amavis

I originally saw an error in the output of configure:
...
checking for __gmpz_init in -lgmp... yes
checking for curl >= 7.10.0... Package openssl was not found in the
pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
7.12.1

So I added the path to openssl.pc to the environment:
PKG_CONFIG_PATH=/usr/lib/pkgconfig/

[EMAIL PROTECTED] clamav-0.88.4]# pkg-config --libs openssl
-L/usr/lib -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz

In either case, the build fails with :
...
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
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/home/visp/source/clamav-0.88.4/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/visp/source/clamav-0.88.4'
make: *** [all] Error 2

My apologies if this turns out to be a libcurl problem, but it's the
standard RHEL4ES curl RPM, so hopefully not.

Any input gratefully appreciated.

Thanks,
Len
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to