clamav-users -- Amos wrote:

Tried compiling on Solaris 8 with gcc-3.3.3. Haven't had problems with
compiles recently, but this one blows up:

gcc -g -O2 -o clamscan output.o getopt.o memory.o cfgparser.o clamscan.o options.o others.o manager.o treewalk.o -L/usr/local/lib -L/usr/soft/that/clamav-0.71/src/default/sparc_sun_solaris2.8/libclamav /usr/local/lib/libclamav.so -lz -lbz2 /usr/local/lib/libgmp.so -lpthread -R/usr/local/lib -R/usr/local/lib
Undefined first referenced
symbol in file
cl_settempdir clamscan.o
ld: fatal: Symbol referencing errors. No output written to clamscan
collect2: ld returned 1 exit status
gmake[2]: *** [clamscan] Error 1

Actually checking this ferther I found my fix anyway.

In /usr/local/lib the following file existed:

-rwxr-xr-x  1 root  wheel     730 Sep 24  2003 libclamav.la

Apparently from an old version of ClamAV. I simply removed it, rand ldconfig again and rebuilt and everything seems fine. Seems something in libtool was getting insanely confused by this file existing.

--
Robert Blayzor, BOFH
INOC, LLC
[EMAIL PROTECTED]
PGP: http://www.inoc.net/~dev/
Key fingerprint = 1E02 DABE F989 BC03 3DF5  0E93 8D02 9D0B CB1A A7B0

My Other machine is your Linux Box


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to