> On Wednesday 04 May 2005 16:03, Jon Dossey wrote: > > Redhat 8.0, currently running clamav 0.70rc-1. Trying to upgrade to > > 0.83 to match the other MX, then I'll move them both to 0.84 in the next > > couple weeks. > > > > /home/sysadmin/clamav-0.83/freshclam/dns.c:55: undefined reference to > > `__res_query' > > /home/sysadmin/clamav-0.83/freshclam/dns.c:62: undefined reference to > > `__dn_expand' > > /home/sysadmin/clamav-0.83/freshclam/dns.c:77: undefined reference to > > `__dn_expand'ith > > > > I can ./configure and throw in a --disable-dns and it makes fine. I > > assumed I could stick a -lresolv somewhere in my Makefile and clear this > > up, but I'm not sure exactly where. > > > -rwxr-xr-x 1 root root 73640 Apr 7 2003 > > libresolv-2.3.2.so > > lrwxrwxrwx 1 root root 18 Apr 23 2003 libresolv.so.2 > > -> libresolv-2.3.2.so > > > > I have a RedHat 7.3 which has libresolv in the glibc-devel RPM. I would > doubt that > RH8.0 is different. What version of the glibc-devel RPM do you have? > > Does rpm -q --filesbypkg glibc-devel include libresolv in it's output? > Do you have /usr/include/resolv.h on your system (that should also be in > the > glibc-devel RPM). > > > Thanks, > > .jon >
Hopefully this will answer your question Nigel: [EMAIL PROTECTED] lib]# rpm -qa | grep glibc glibc-debug-2.3.2-4.80.6 glibc-devel-2.3.2-4.80.6 glibc-kernheaders-2.4-7.20 glibc-debug-static-2.3.2-4.80.6 glibc-utils-2.3.2-4.80.6 glibc-profile-2.3.2-4.80.6 glibc-common-2.3.2-4.80.6 glibc-2.3.2-4.80.6 [EMAIL PROTECTED] lib]# slocate resolv.h | grep /usr /usr/include/resolv.h /usr/bind/include/resolv.h Thanks, .jon _______________________________________________ http://lurker.clamav.net/list/clamav-users.html