|Main Archive Page > Month Archives > clamav-users archives|
> Hello All,
> [if this is the wrong list please advise - I'm a new subscriber]
> I hope someone has been across this error whilst compiling from source on
> linux machine.
> /root/clamav-0.92rc2/clamd/server-th.c:558: undefined reference to
> collect2: ld returned 1 exit status
> make: *** [clamd] Error 1
> make: Leaving directory `/root/clamav-0.92rc2/clamd'
> make: *** [all-recursive] Error 1
> make: Leaving directory `/root/clamav-0.92rc2'
> make: *** [all] Error 2
I have that symbol in glibc 2.6.1:
$ nm -D /lib/libc.so.6 | grep xpg_strerror_r 000726b0 T __xpg_strerror_r
What does the command above output on your system?
You are probably using the headers for a newer version of glibc than the
one installed on your system.
What does "apt-cache policy libc6-dev libc6" output? The versions should be the same.
Also do you have uclibc installed?