From owner-freebsd-stable Mon Nov 18 13:21: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE8E837B401 for ; Mon, 18 Nov 2002 13:21:02 -0800 (PST) Received: from tensor.xs4all.nl (tetsuo.xs4all.nl [213.84.94.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id E27AD43E6E for ; Mon, 18 Nov 2002 13:21:01 -0800 (PST) (envelope-from dim@xs4all.nl) Received: from kilgore.dim (kilgore.dim [192.168.0.3]) by tensor.xs4all.nl (Postfix) with ESMTP id D4195574B; Mon, 18 Nov 2002 22:20:58 +0100 (CET) Date: Mon, 18 Nov 2002 22:20:50 +0100 From: Dimitry Andric X-Mailer: The Bat! (v1.62/Beta7) Business X-Priority: 3 (Normal) Message-ID: <1379924590.20021118222050@xs4all.nl> To: Kris Kennaway Cc: Andy Sparrow , Mikhail Teterin , Subject: Re: A workaround for the missing __stderrp? In-Reply-To: <20021118192222.GB24245@rot13.obsecurity.org> References: <20021118074805.GA99883@rot13.obsecurity.org> <20021118190443.A115727F@CRWdog.demon.co.uk> <20021118192222.GB24245@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2002-11-18 at 20:22:23 Kris Kennaway wrote: KK> If it links against 3.x libraries (use 'ldd') then it's a 3.x binary :) Well, the weird thing here is that the missing "__stderrp" seems to come from /usr/lib/libm.so.2, which is NOT a compat library (yet?). For example, when running a certain 3.x executable I get the message: /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp" indicating that the problem lies in libm.so.2, not in my executable per se. So maybe a suggestion would be to bump libm's version number (but it seems to have been deprecated already, sigh), move the libm.so.2 file to compat, and link it with the "old" libc.so.3 file. At the moment I'm trying to figure out how libm.so.2 is being built, since /usr/src/lib/libm/Makefile doesn't seem to work by itself... Cheers, - -- Dimitry Andric PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 Lbh ner abj va ivbyngvba bs gur QZPN -----BEGIN PGP SIGNATURE----- Version: 6.5.8ckt http://www.ipgpp.com/ Comment: http://duncan.gn.apc.org/stoa_cover.htm iQA/AwUBPdlLprBeowouIJajEQK0dgCfQlih/hM9UQqOCD/NhRMaog1eUxoAn1FG fHNaLlDuYNs8HBcqxJe/VYTc =JPqf -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message