From owner-freebsd-questions Mon May 3 1:35:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-11.mail.demon.net (finch-post-11.mail.demon.net [194.217.242.39]) by hub.freebsd.org (Postfix) with ESMTP id 5465914C40 for ; Mon, 3 May 1999 01:35:28 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-11.mail.demon.net with smtp (Exim 2.12 #1) id 10eECD-0002zI-0B; Mon, 3 May 1999 08:35:26 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id JAA01810; Mon, 3 May 1999 09:34:47 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id JAA00534; Mon, 3 May 1999 09:34:25 +0100 (BST) (envelope-from marko) Date: Mon, 3 May 1999 09:34:24 +0100 From: Mark Ovens To: Henrik Hudson Cc: questions@freebsd.org Subject: Re: LdConfig and the case of the missing libraries Message-ID: <19990503093424.B255@marder-1> References: <3.0.6.32.19990502123843.00798100@mail.trlinks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <3.0.6.32.19990502123843.00798100@mail.trlinks.com>; from Henrik Hudson on Sun, May 02, 1999 at 12:38:43PM -0500 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 02, 1999 at 12:38:43PM -0500, Henrik Hudson wrote: > Greetings List- > > I am running FreeBSD 3.1 Release and am trying to get 'blender' to run > correctly. > I downloaded it and got it put in correctly, but I get the error: > ld.so failed: Can't find shared library "libMesaGL.so.3.0" > I know for a fact that that file is on my system, /usr/local/lib to be > exact. That directory is also in > ld-elf.so.hints and ld.so.hints in /etc . I have run 'ldconfig -r' and > the list has a older Mesa library in it which is in /X11R6/lib ..could > that be causing a conflict of interest? I have also run 'ldconfig -m > /usr/local/lib' just to be sure I was looking in the right directory and > even tried 'ldconfig -R' ..but to no avail. > Anyone have any ideas/suggestions they would like to share? > Is this a Linux emulation problem? If so then someone posted a URL for a thread in -emulation here recently about Linux emulation being broken. I don't have the URL any more but I saved the message I found there: Message-ID: <36CC6DE7.D49C3F5B@scc.nl> Date: Thu, 18 Feb 1999 20:45:43 +0100 From: Marcel Moolenaar Organization: SCC vof X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: John Polstra Cc: emulation@freebsd.org Subject: Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Polstra wrote: > > I can't fix it until tonight at the earliest, because of work > pressures. If you'll replace the definition of ELF_RTLD_ADDR > in "src/sys/i386/include/elf.h" with the definition from > "src/sys/alpha/include/elf.h", that should fix it. > > If anybody gets a chance to try this, please let me know whether it > works. It solves the problem. Thanks. marcel Replace the line #define ELF_RTLD_ADDR(vmspace) in /usr/src/sys/i386/include/elf.h with the corresponding line from /usr/src/sys/alpha/include/elf.h: #define ELF_RTLD_ADDR(vmspace) \ (round_page((vm_offset_t)(vmspace)->vm_daddr + MAXDSIZ)) and re-compile your kernel. HTH > > Thanks in advance. > > Henrik > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message