Date: Mon, 27 Feb 2006 16:26:20 +0300 From: Boris Samorodov <bsam@ipt.ru> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-emulation@FreeBSD.org Subject: linux_base and libreadline.so symlink (was: Re: Matlab) Message-ID: <16934979_-_@srv.sem.ipt.ru> In-Reply-To: <200602272329.47792.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Mon, 27 Feb 2006 23:29:46 %2B1030") References: <20060227111759.GC19451@math.jussieu.fr> <4402E4E1.1010208@andric.com> <20060227121512.GA23561@math.jussieu.fr> <200602272329.47792.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Moved from stable@ to emulation@. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16934979_-_>