linux_base and libreadline.so symlink (was: Re: Matlab)

Boris Samorodov bsam at ipt.ru
Mon Feb 27 05:28:39 PST 2006


Moved from stable@ to emulation at .

On Mon, 27 Feb 2006 23:29:46 +1030 Daniel O'Connor wrote:
> 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

Why didn't linux distribution do this symlink?
Should our linux_base port do it (as well as for libtermcap.so and
maybe others)?


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co,     http://www.ipt.ru
Telephone & Internet Service Provider


More information about the freebsd-emulation mailing list