From owner-freebsd-stable@FreeBSD.ORG Mon Feb 27 13:01:09 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD01E16A420 for ; Mon, 27 Feb 2006 13:01:09 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F13643D45 for ; Mon, 27 Feb 2006 13:01:08 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp143-122.lns2.adl2.internode.on.net [59.167.143.122]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k1RD0qms086414 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 27 Feb 2006 23:30:59 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-stable@freebsd.org, shih@math.jussieu.fr Date: Mon, 27 Feb 2006 23:29:46 +1030 User-Agent: KMail/1.9.1 References: <20060227111759.GC19451@math.jussieu.fr> <4402E4E1.1010208@andric.com> <20060227121512.GA23561@math.jussieu.fr> In-Reply-To: <20060227121512.GA23561@math.jussieu.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2098556.ns4XFcyqHh"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200602272329.47792.doconnor@gsoft.com.au> X-Spam-Score: -2.189 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.54 on 203.31.81.10 Cc: Dimitry Andric Subject: Re: Matlab X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 13:01:10 -0000 --nextPart2098556.ns4XFcyqHh Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 27 February 2006 22:45, Albert Shih wrote: > > > /usr/local/matlab/bin/matlab: line 1: /lib/libc.so.6: cannot execute > > > binary file /usr/local/matlab-14/bin/glnx86/MATLAB: error while loadi= ng > > > shared libraries: /usr/lib/libtermcap.so: ELF file OS ABI invalid > > > > > > But I've compile the kernel with linux option and maple (other soft > > > using linux too) work fine. > > > > Do you have "linux_enable=3DYES" in your rc.conf? > > Yes of course... > > If I don't maple can't run... The problem you are having is that the FreeBSD libtermcap.so file is being= =20 found by the Linux dynamic linker. Unfortunately it does not just ignore the fact it's a FreeBSD binary - it=20 blows up. You can try adding a manual symlink - I have libreadline.so.4 from linux_ba= se=20 but not libreadline.so, ie I suggest you do this.. cd /compat/linux/usr/lib ln -s libreadline.so.4 libreadline.so =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2098556.ns4XFcyqHh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBEAvfD5ZPcIHs/zowRAqSuAKCUKe7aE0LudnWWGbz9f4bbiUrBiQCfSXAf 7SA1CPdXMlgc1loa+bkQqak= =mBHe -----END PGP SIGNATURE----- --nextPart2098556.ns4XFcyqHh--