On Wed, 8 Dec 2010 15:43:23 +0000
"Armitage, Jon" <[email protected]> wrote:

> 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

Looks like you are using broken version of binutils:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26014

What do these commands output, and is the output different between the
2 machines:
$ nm -D /lib/libc.so | grep pthread_key_create
$ nm -D /lib/libpthread.so | grep pthread_key_create
$ find . -name '*.la' -exec egrep dependency_libs=\|relink_command {} \;

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to