Date: Mon, 3 May 1999 09:34:24 +0100 From: Mark Ovens <marko@uk.radan.com> To: Henrik Hudson <lists@rhavenn.net> Cc: questions@freebsd.org Subject: Re: LdConfig and the case of the missing libraries Message-ID: <19990503093424.B255@marder-1> 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 References: <3.0.6.32.19990502123843.00798100@mail.trlinks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <marcel@scc.nl>
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 <jdp@polstra.com>
Cc: emulation@freebsd.org
Subject: Re: ELF/VM problem [was: Re: linux ELF emulation is kinda broken
References: <XFMail.990218104957.jdp@polstra.com>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990503093424.B255>
