From: "Török Edwin" <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] wrote:
>> 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
>> `__xpg_strerror_r'
>> collect2: ld returned 1 exit status
>> make[2]: *** [clamd] Error 1
>> make[2]: Leaving directory `/root/clamav-0.92rc2/clamd'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: 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?
>
> --Edwin

Hi Edwin,

[EMAIL PROTECTED]:~] apt-cache policy libc6-dev libc6

libc6-dev:
  Installed: 2.5-9+b1
  Candidate: 2.6.1-1+b1
  Version Table:
     2.6.1-1+b1 0
        500 http://mirror.pacific.net.au testing/main Packages
 *** 2.5-9+b1 0
        100 /var/lib/dpkg/status
libc6:
  Installed: 2.3.2.ds1-20
  Candidate: 2.6.1-1+b1
  Version Table:
     2.6.1-1+b1 0
        500 http://mirror.pacific.net.au testing/main Packages
 *** 2.3.2.ds1-20 0
        100 /var/lib/dpkg/status
[EMAIL PROTECTED]:~]
[EMAIL PROTECTED]:~] nm -D /lib/libc.so.6 | grep xpg_strerror_r
[EMAIL PROTECTED]:~] <returns no results, just a prompt again>

whereis/locate uclibc returns no results.

..Petar 

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

Reply via email to