Installation question on Solaris 2.7

From: Christopher Adams <>
Date: Fri, 14 Apr 2000 02:54:30 +0800
Message-ID: <>

I have queried this list before but was never able to resolve the problem. I am installing on Solaris 2.7. I run ./configure successfully and when I run 'make', it goes almost to the end and then gives me this message:

make[1]: Leaving directory `/usr/local/hypermail-2b29/libcgi' gcc -o mail -g -O2 mail.o ../libcgi/libcgi.a -lsocket -lnsl

Undefined                       first referenced
 symbol                             in file
__inet_addr                         mail.o
ld: fatal: Symbol referencing errors. No output written to mail make: *** [mail] Error 1

I was previously told that with Solaris 2.7 that I should change the line NETLIBS= -lnsl in the Makefile to NETLIBS= -lsocket -lnsl and run 'make' again. I did that and still get a similar message. Can anyone who is using Solaris 2.7 or can troubleshoot this give me some ideas? Thanks

Christopher Adams
Oregon State Library
Received on Thu 13 Apr 2000 08:56:07 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:52 PM GMT GMT