Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2009 16:16:12 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org, doc@freebsd.org
Subject:   Re: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid
Message-ID:  <200907121616.12855.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <b6c05a470907121626s8e1b53g1909bcb485342bb1@mail.gmail.com>
References:  <b6c05a470907121234q5a76788cw2f5aa7c26399ae22@mail.gmail.com> <b6c05a470907121617s62a9f379l46f4324abc5fedf1@mail.gmail.com> <b6c05a470907121626s8e1b53g1909bcb485342bb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 12 July 2009 11:34:52 Daniel Underwood wrote:
> During installation of Matlab, just after accepting the licnse
> agreement, I get this error:
>
> /home/daniel/matlab-install/update/bin/glnx86/xsetup: error while
> loading shared libraries: /lib/libXp.so.6: ELF file OS ABI invalid
>
> I even tried "# brandelf -t Linux /compat/linux/lib/libXp.so.6" but I
> still get the same error.
>
> How do I fix this?

On Sunday 12 July 2009 15:26:59 Daniel Underwood wrote:
> FYI:
>
> I believe initially libXp.so.6 was not located in /compat/linux/lib/,
> so I copied it there from /usr/local/lib/.  I believe I also tried to
> "brand" the file, but before branding the file and after branding the
> file I get this same error message.

That explains a lot. Remove that file and install /usr/ports/x11/linux-xorg-
libs. The correct libXp.so.6 should then be installed.

The article could use a "pre-requisite" section though. It's not obvious to 
everyone that the linux emulation uses it's own Xorg.

-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907121616.12855.mel.flynn%2Bfbsd.questions>