From owner-freebsd-current Wed Sep 9 14:51:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24596 for freebsd-current-outgoing; Wed, 9 Sep 1998 14:51:52 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24589 for ; Wed, 9 Sep 1998 14:51:48 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id HAA09044; Thu, 10 Sep 1998 07:53:41 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809092153.HAA09044@cimlogic.com.au> Subject: Re: /usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2 In-Reply-To: <98090920325302.00755@gmarco.eclipse.org> from Gianmarco Giovannelli at "Sep 9, 98 08:30:36 pm" To: gmarco@giovannelli.it Date: Thu, 10 Sep 1998 07:53:41 +1000 (EST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gianmarco Giovannelli wrote: > > -------------------------------------------------------------- > Rebuilding man page indexes > -------------------------------------------------------------- > cd /usr/src/share/man; /usr/obj/elf/usr/src/tmp/usr/bin/make makedb > makewhatis /usr/share/man > /usr/libexec/ld.so: warning: /usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2: minor version -1 older than expected 0, using it anyway > ld.so failed: bad magic number in "/usr/obj/elf/usr/src/tmp/usr/lib/libm.so.2" > *** Error code 1 > > Mine make world always finished in this way ... > I have played a little with ldconfig (both -elf and -aout) but without any > success ... What I miss ? I can't explain why the aout rtld would be looking at the elf libs. Since the first that this occurs is immediately after ldconfig rescans for libs, I guess it might be related to that. You've already said that /etc/rc has _LDC pointing to /usr/lib/aout. Immediately after the build fails, try running `ldconfig -aout -r' and check the paths reported. If there are no tmp components of these paths, then maybe the problem is things set in your environment. Are you setting LD_LIBRARY_PATH? -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message