From owner-freebsd-current Wed Jul 21 17:42:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 2442B155C0 for ; Wed, 21 Jul 1999 17:42:50 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id RAA06490; Wed, 21 Jul 1999 17:42:45 -0700 (PDT) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.3/8.9.1) id RAA73145; Wed, 21 Jul 1999 17:42:45 -0700 (PDT) (envelope-from jdp@polstra.com) Date: Wed, 21 Jul 1999 17:42:45 -0700 (PDT) Message-Id: <199907220042.RAA73145@vashon.polstra.com> To: henrich@flnet.com Subject: Re: 4.0-current [/usr/libexec/ld-elf.so.1: cc: Undefined symbol "mkstemps"] In-Reply-To: <19990721110932.G7548@orbit.flnet.com> Organization: Polstra & Co., Seattle, WA Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <19990721110932.G7548@orbit.flnet.com>, Charles Henrich wrote: > I've recently upgraded to 4.0 from 3.2-stable and now whenever I try and > compile something I get: > > /usr/libexec/ld-elf.so.1: cc: Undefined symbol "mkstemps" > *** Error code 1 That symbol should be defined in "/usr/lib/libc.so.3". Do a "nm" on the library and see if that's the case. If not, then you must have an old libc. (How did that happen?) If the symbol _is_ defined there, your ldconfig path might be wrong such that cc isn't using the correct library. Type "ldd /usr/bin/cc" to see which libraries it's really finding. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "No matter how cynical I get, I just can't keep up." -- Nora Ephron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message