Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 17:42:45 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        henrich@flnet.com
Cc:        current@freebsd.org
Subject:   Re: 4.0-current [/usr/libexec/ld-elf.so.1: cc: Undefined symbol "mkstemps"]
Message-ID:  <199907220042.RAA73145@vashon.polstra.com>
In-Reply-To: <19990721110932.G7548@orbit.flnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help

In article <19990721110932.G7548@orbit.flnet.com>,
Charles Henrich  <henrich@flnet.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907220042.RAA73145>