From owner-freebsd-current Wed Oct 16 8:58:13 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE09337B401 for ; Wed, 16 Oct 2002 08:58:11 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9988943EA3 for ; Wed, 16 Oct 2002 08:58:10 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA17065; Thu, 17 Oct 2002 01:58:04 +1000 Date: Thu, 17 Oct 2002 02:08:41 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Julian Elischer Cc: FreeBSD current users Subject: Re: My Old X server vs -current libs In-Reply-To: Message-ID: <20021017014703.A6112-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 15 Oct 2002, Julian Elischer wrote: > If I try run any X stuff I get: > julian@jules:current1(101) startx > /usr/libexec/ld-elf.so.1: Undefined symbol "__sF" referenced from COPY > relocatio > ... > > Do I need to install a new X? Maybe. This error happens when X or X applications are linked to libc.so.5, (perhaps by rebuilding them under -current), but with the main X libraries linked to libc.so.4 or an old version of libc.so.5 (because they were built under RELENG_4 an old version of -current). Everything apparently attempts to use libc.so.5 in this case. Since __sF is no longer exported from libc.so.5, the old X libraries can't find it. This only broke wine for me. wine is not packaged, so I have to build it locally. Otherwise I use only XF386 from an old version of RELENG_4 for X itself, and the packages off the most recent RELENG_4 cdrom for X applications; these all link to libc.so.4 so they were not affected by changes to libc.so.5. I started recompiling the old version of wine that I use because current versions have different bugs which are more harmful in practice, but it has rotted too much to build cleanly. My "fix" was to unstaticize __sF. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message