From owner-freebsd-questions Mon Oct 7 22:19: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B88937B401 for ; Mon, 7 Oct 2002 22:19:03 -0700 (PDT) Received: from quasi.concon.homeip.net (clt88-149-078.carolina.rr.com [24.88.149.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8F8B43EB2 for ; Mon, 7 Oct 2002 22:19:02 -0700 (PDT) (envelope-from jconner@enterit.com) Received: from there (snafux [192.168.100.13]) by quasi.concon.homeip.net (8.11.6/8.11.6) with SMTP id g985RLV20996 for ; Tue, 8 Oct 2002 01:27:51 -0400 Message-Id: <200210080527.g985RLV20996@quasi.concon.homeip.net> Content-Type: text/plain; charset="iso-8859-1" From: Jim Reply-To: jconner@enterit.com To: freebsd-questions@freebsd.org Subject: make buildworld: /usr/libexec/elf/ld: cannot find -lc Date: Tue, 8 Oct 2002 01:46:35 -0400 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FreeBSD 4.2 getting the error when attempting to buildworld: -- clip -- -------------------------------------------------------------- Upgrading the installed make -------------------------------------------------------------- cc -O -pipe -I/usr/src/usr.bin/make -DMAKE_VERSION=\"5200209170\" -D__FBSDID=__RCSID -DDEFSHELL=1 -static -o make arch.o buf.o compat.o cond.o dir.o for.o hash.o job.o main.o make.o parse.o str.o suff.o targ.o var.o lstAppend.o lstAtEnd.o lstAtFront.o lstClose.o lstConcat.o lstDatum.o lstDeQueue.o lstDestroy.o lstDupl.o lstEnQueue.o lstFind.o lstFindFrom.o lstFirst.o lstForEach.o lstForEachFrom.o lstInit.o lstInsert.o lstIsAtEnd.o lstIsEmpty.o lstLast.o lstMember.o lstNext.o lstOpen.o lstRemove.o lstReplace.o lstSucc.o /usr/libexec/elf/ld: cannot find -lc *** Error code 1 Stop in /usr/src/usr.bin/make. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # uname -a FreeBSD njkwan.concon.homeip.net 4.2-RELEASE FreeBSD 4.2-RELEASE #1: Sat Dec 30 15:40:05 EST 2000 root@njkwan.homelan.com:/usr/src/sys/compile/njkwan i386 --!clip-- I have read some things online that state that I need to specify a directory to find the c library??? using the -L switch? When I do an ldconfig -m I show the following directories available: # ldconfig -r | awk -F'>' '{print $2}' | while read d;do dirname $d;done | uniq /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/mysql Any suggestions would be very nice. TIA -- - Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message