Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2005 01:34:15 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        "Kevin S. Brackett" <ksb@platypusgroup.com>
Cc:        freebsd-stable@freebsd.org, Dan Nelson <dnelson@allantgroup.com>
Subject:   Re: libc.so.4 & libc_r.so.4 in ices0
Message-ID:  <Pine.GSO.4.43.0506240128410.2212-100000@sea.ntplx.net>
In-Reply-To: <20050624004056.D81650@tsunami.platypusgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 Jun 2005, Kevin S. Brackett wrote:
>
> Well, the problem is when libc and libc_r are linked together, I
> recompiled without -lc and it's now fine, but not really what i'd consider
> a great fix...

I suggest you go do some research -- look in our archives and
man pages.  libc is linked automatically; you don't want to
specify it yourself.  Link order is important; your application
must be linked to libc_r (or libpthread/libthr) before libc.
Using -lc_r -lc will work, -lc -lc_r will not.  Just let
the compiler link to libc for you.

-- 
DE




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0506240128410.2212-100000>