Solaris 2.5.1/gcc 2.7.2: undefined res_init

From: Trevor Paquette <>
Date: Thu, 19 Dec 1996 08:23:52 -0700

I just joined this list and did not see this answered in the FAQ..

I just tried to compile squite 1.1.1 on an Ultra 2, Solaris 2.5.1 and gcc
2.7.2. I got the following error trying to compile dnsserver:

gcc -o dnsserver -g dnsserver.o -L../lib -lmiscutil -lresolv -lsocket -lnsl
Undefined first referenced
 symbol in file
__res_init dnsserver.o

Is this known thingy? This is my LD_LIBRARY_PATH:

Thanx for any input on this!

Trevor Paquette            |Minerva Network ServiCenters |Work:(403)543-2355    |600, 777 8th Ave SW          | Fax:(403)290-8400        |Calgary, Ab, Canada          |ICBM:51'05"N/114'01"W
Team Leader - Unix Systems |T2P 3R5                      |Mind:In the Rockies
Received on Thu Dec 19 1996 - 07:45:08 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:56 MST