I am trying to upgrade from 0.96.3 on a box running Solaris 10. I used this configure command, which worked with 0.96.3, and has worked with 0.96.5 on another Solaris 10 box:
./configure --with-user=exim --with-group=exim LDFLAGS=-L/usr/local/lib LIBS=-liconv The make fails with the following error: CCLD clamscan ../libclamav/.libs/libclamav.so: undefined reference to `pthread_key_cre...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `dler...@sunw_1.22' ../libclamav/.libs/libclamav.so: undefined reference to `wr...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_key_del...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `pr...@sunw_1.2' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_setspeci...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `o...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `dlo...@sunw_1.22' ../libclamav/.libs/libclamav.so: undefined reference to `cl...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `r...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_getspeci...@sunw_0.9' ../libclamav/.libs/libclamav.so: undefined reference to `dl...@sunw_1.22' ../libclamav/.libs/libclamav.so: undefined reference to `dlcl...@sunw_1.22' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_o...@sunw_0.9' collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: echo " CCLD " clamscan;/bin/bash ../libtool --silent --tag=CC --mode=link gcc -g -O2 -L/usr/local/lib -o clamscan output.o getopt.o optparser.o actions.o misc.o clamscan.o others.o manager.o ../libclamav/libclamav.la -lpthread make: Fatal error: Command failed for target `clamscan' Current working directory /export/home/jon/clamav-0.96.5/clamscan I have googled extensively, but the closest suggestion I can find is that libtool is linking the libraries in the wrong order. Please does anyone have any suggestions? Jon Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the co mpanies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml