Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 1995 11:18:11 -0800 (PST)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        davidg@Root.COM
Cc:        wollman@halloran-eldar.lcs.mit.edu, freebsd-current@FreeBSD.org
Subject:   Re: HEADS UP - About removing libgcc.so.261
Message-ID:  <199503101918.LAA04485@ref.tfs.com>
In-Reply-To: <199503101915.LAA07097@corbin.Root.COM> from "David Greenman" at Mar 10, 95 11:15:30 am

next in thread | previous in thread | raw e-mail | index | archive | help
> >>> I just ran into a major problem with removing the shared version of
> >>> gcc (libgcc.so.261.0), it seems that XFree86 3.1 is dynamically linked
> >>> against this.
> >> you shouldn't remove it until you are sure you don't need it...
> >
> >There is a more serious problem: unless GCC is modified, so long as
> >you have this shared library, `ld' will prefer it to the static
> >version, thus ensuring that future binaries require it.
> 
>    Poul modified ld to force it to build with the static version. I'm coming
> up right now with a better fix (to cc) that will tell the linker to use the
> static version of the library.
> 
Actually, I guess I have found an even better solution:

	move ths shared libgcc to /usr/lib/FreeBSD-2.0-compat
	tell ldconfig about that directory.

ld should not find it, but ldconfig will...

-- 
Poul-Henning Kamp <phk@login.dknet.dk> -- TRW Financial Systems, Inc.
'All relevant people are pertinent' && 'All rude people are impertinent'
=> 'no rude people are relevant'



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