FIX: Perl, BIND, LWP, and being unable to resove '__inet_ntoa'
Chris Schoenfeld (chris@ixlabs.com)
Fri, 25 Jul 1997 20:34:40 -0700
Recently, I built perl5.004 on a Linux box with a newer version of BIND.
Later, I attempted to install libwwwperl5.10 into this new Perl, but
failed on the make test with an error:
unable to resolve symbol '__inet_ntoa'
After weeks of misery, Michael Fuhr (mfuhr@dimensional.com) pointed out
that BIND 8.1 now places it's include files in /usr/local/bind/include,
rather than /usr/local/include, which is where Perl is going to find
them if you upgraded from a previous version of BIND.
So, on our system, the fix was to rm -rf the BIND files from
/usr/local/include, which includes the following files and directories:
/arpa
/isc
/net
/sys
netdb.h
resolv.h
Now you have to reinstall Perl, editing the makefile so that all (I
found 2) references to /usr/local/include/netdb.h are changed to
/usr/local/bin/include/netdb.h.
Now reinstall libwwwwperl-5.10 (or whatever other module is failing with
BIND).
Should 'make test' fine.
Thanks again to Mark Fuhr for his help...hopefully this fix will provide
some pointers for others having trouble with Perl modules or other C
programs which use BIND.
--
Chris Schoenfeld
Director, Advanced Technology
IX Development Laboratories
(707)-543-8030 Ext. 12