From owner-freebsd-doc@FreeBSD.ORG Mon Jul 13 00:32:35 2009 Return-Path: Delivered-To: doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E1F1065693 for ; Mon, 13 Jul 2009 00:32:35 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D204D8FC1E for ; Mon, 13 Jul 2009 00:32:34 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id C70697E826; Sun, 12 Jul 2009 16:16:13 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org, doc@freebsd.org Date: Sun, 12 Jul 2009 16:16:12 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907121616.12855.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Subject: Re: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2009 00:32:35 -0000 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