From owner-freebsd-questions Tue Apr 8 23:12:19 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA28949 for questions-outgoing; Tue, 8 Apr 1997 23:12:19 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA28942 for ; Tue, 8 Apr 1997 23:12:16 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id XAA03365; Tue, 8 Apr 1997 23:12:08 -0700 (PDT) Date: Tue, 8 Apr 1997 23:12:07 -0700 (PDT) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Jeffrey J. Mountin" cc: questions@freebsd.org, droth@mixcom.com Subject: Re: Libraries In-Reply-To: <3.0.32.19970406131140.00bef93c@mixcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 6 Apr 1997, Jeffrey J. Mountin wrote: > On one of our servers here I did a clean install of 2.2.1 and was busy > recompiling things. On trying smap and smapd: > > --snip-- > cc -g -o authmgr authmgr.o ../libauth.a ../libfwall.a -lresolv -lcrypt > ld: -lresolv: no match > *** Error code 1 > > Checking /usr/lib I don't find it, but it sure exists in 2.1.7 sure enough. I believe that the necessary functions exist in libc. Please don't quote me on that though! > # libresolv on FreeBSD-2.x **never did anything**!! AFAIK, all it did was stub the functions over to the libc equivalents. Try removing the -lresolv and see what you get. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major