[Mimedefang] [off-topic] McAfee 5100 Upgrade on Boxes without GCC 3.2

Kevin A. McGrail kmcgrail at pccc.com
Thu Dec 14 14:43:01 EST 2006


Off-topic post but we use McAfee with MIMEDefang so hopefully people won't 
mind.  And since McAfee is end of lifing the 4400 product at the end of 
January, others might benefit.

In short, we have some older but perfectly good boxes running that we want 
to upgrade with the Linux version of McAfee (Uvscan).  However, the current 
version (5100) no longer is compiled where it will work on machines without 
GCC 3.2.

This means that on older machines that predate GCC 3.2, it won't work.  It 
also means that on newer machines like CentOS 4, you have to load 
compat-libstdc++-33-3.2.3-47.3 RPMs because GCC 3.2.3 was released in 
2002/2003 so it's already outdated, sigh.

ldd uvscan
        liblnxfv.so.4 => /usr/local/lib/liblnxfv.so.4 (0x40018000)
        libstdc++.so.5 => not found
        libm.so.6 => /lib/libm.so.6 (0x4046a000)
        libgcc_s.so.1 => not found
        libc.so.6 => /lib/libc.so.6 (0x4048d000)
        libdl.so.2 => /lib/libdl.so.2 (0x405cc000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x405d1000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

What I've done is downloaded the source to GCC 3.2.3 and run the following 
commands:
./configure --prefix=/usr/local/gcc3.2.3
make install
vi /etc/ld.so.conf adding /usr/local/gcc3.2.3/lib as the last entry?
ldconfig

This seems to work fine.

ldd uvscan
        liblnxfv.so.4 => /usr/local/lib/liblnxfv.so.4 (0x40018000)
        libstdc++.so.5 => /usr/local/gcc3.2.3/lib/libstdc++.so.5 
(0x4046a000)
        libm.so.6 => /lib/libm.so.6 (0x4051f000)
        libgcc_s.so.1 => /usr/local/gcc3.2.3/lib/libgcc_s.so.1 (0x40542000)
        libc.so.6 => /lib/libc.so.6 (0x4054a000)
        libdl.so.2 => /lib/libdl.so.2 (0x40689000)
        libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 
(0x4068e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

./uvscan --version
Virus Scan for Linux v5.10.0
Copyright (c) 1992-2004 Networks Associates Technology Inc. All rights 
reserved.
(408) 988-3832  LICENSED COPY - May 26 2006

Scan engine v5.1.00 for Linux.
Virus data file v4919 created Dec 14 2006
Scanning for 220893 viruses, trojans and variants.




Since I have virtually no experience compiling compilers and stdc libs, I've 
got the following questions:

a) will this cause issues with other programs on the server?
b) is there a better way to compile gcc (perhaps gcc core?) where you just 
get the libgcc_s.so.1 & libstdc++.so.5?

Love to hear from anyone else dealing with this issue out there or who has 
any experience with libstdc / gcc issues.

Regards,
KAM 




More information about the MIMEDefang mailing list