brockmasterflex
01-25-2005, 03:38 PM
Ok guys, trying to installing ClamAV on my AMD64 (running Fedora core 2)to be mail server. I had a dream a few days ago, where I could install Postfix, Spamassassin, and ClamAV and within a day have a nice crisp mail server. However, my dreams are becoming nightmares. After a few trips with the Postfix install (had a problem compiling from source, but yum worked), no problems compiling Spamassassin, ClamAV will not install.... no way, no how. I've tried yum using many repos, and the source keeps crashing at the make..... here is the lastest problem:
[root@data clamav-0.81rc1]#make
..............
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.81rc1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/clamav-0.81rc1'
make: *** [all] Error 2
[root@data clamav-0.81rc1]#
Has anyone had these problems before? Will postfix, spamassassin, and clamav jive together (i've read various articles where they have)? Can anyone maybe offer a better solution? Right now, I'm wondering if the juice of clamav is worth the squeeze.
Thanks for reading,
Brock
[root@data clamav-0.81rc1]#make
..............
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libclamav.la] Error 1
make[2]: Leaving directory `/usr/src/clamav-0.81rc1/libclamav'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/clamav-0.81rc1'
make: *** [all] Error 2
[root@data clamav-0.81rc1]#
Has anyone had these problems before? Will postfix, spamassassin, and clamav jive together (i've read various articles where they have)? Can anyone maybe offer a better solution? Right now, I'm wondering if the juice of clamav is worth the squeeze.
Thanks for reading,
Brock