Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2006 23:29:46 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-stable@freebsd.org, shih@math.jussieu.fr
Cc:        Dimitry Andric <dimitry@andric.com>
Subject:   Re: Matlab
Message-ID:  <200602272329.47792.doconnor@gsoft.com.au>
In-Reply-To: <20060227121512.GA23561@math.jussieu.fr>
References:  <20060227111759.GC19451@math.jussieu.fr> <4402E4E1.1010208@andric.com> <20060227121512.GA23561@math.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 loading
> > > 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=YES" 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 
found by the Linux dynamic linker.

Unfortunately it does not just ignore the fact it's a FreeBSD binary - it 
blows up.

You can try adding a manual symlink - I have libreadline.so.4 from linux_base 
but not libreadline.so, ie I suggest you do this..
cd /compat/linux/usr/lib
ln -s libreadline.so.4 libreadline.so

-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBEAvfD5ZPcIHs/zowRAqSuAKCUKe7aE0LudnWWGbz9f4bbiUrBiQCfSXAf
7SA1CPdXMlgc1loa+bkQqak=
=mBHe
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602272329.47792.doconnor>