If memory serves me, mv /usr/ccs/bin/ld /usr/ccs/bin/ld.sun
This will cause you to use the gnu linker in place of the sun linker.

- Ken


On Tue, February 6, 2007 14:15, Jonathan Armitage wrote:
> I am trying to compile rc3 on a Dell PC running Solaris.
>
>
> After successfully running "./configure --with-user=exim
> --with-group=exim", the make fails with the following error:
>
>
> gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o
> options.o clamscan.o others.o manager.o treewalk.o -L/usr/local/lib
> ../libclamav/.libs/libclamav.so -lz -lbz2 -lpthread
> -lsocket -lnsl -Wl,--rpath -Wl,/usr/local/lib
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> ../libclamav/.libs/libclamav.so: undefined reference to [EMAIL PROTECTED]'
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `clamscan'
>
>
> I have successfully compiled 0.88.7 and RC1 on this machine in the past.
>
>
> While I am by no means an expert, it seems to me that a library is
> missing or misplaced.
>
> Does anyone have a clue where I should look?
>
>
> Thanks,
>
>
> Jon
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://lurker.clamav.net/list/clamav-users.html
>
>


-- 
Ken Jones
[EMAIL PROTECTED]
(630) 548-1627 (Home)
(630) 263-3574 (Cell)
https://www.kenandlori.com

Y! : [EMAIL PROTECTED]
MSN: [EMAIL PROTECTED]
AIM: ptownjones
ICQ: 9807841

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to