Ken Jones wrote:
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

Thanks, that was the clue. In fact /usr/ccs/bin/ld was a symlink to /usr/sfw/bin/gld. It seems to have been installed by the last upgrade I did on Jan 7.

So I put the Sun linker back, and it compiles fine.

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

Reply via email to