From owner-freebsd-emulation@FreeBSD.ORG Mon Feb 27 13:28:39 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1288B16A420 for ; Mon, 27 Feb 2006 13:28:39 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6765F43D46 for ; Mon, 27 Feb 2006 13:28:38 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from stat.sem.ipt.ru ([192.168.12.1] helo=srv.sem.ipt.ru) by mail.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1FDiQU-000914-Dj; Mon, 27 Feb 2006 16:28:34 +0300 Received: from bsam by srv.sem.ipt.ru with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FDiOK-000Osp-2t; Mon, 27 Feb 2006 16:26:20 +0300 To: "Daniel O'Connor" References: <20060227111759.GC19451@math.jussieu.fr> <4402E4E1.1010208@andric.com> <20060227121512.GA23561@math.jussieu.fr> <200602272329.47792.doconnor@gsoft.com.au> From: Boris Samorodov Date: Mon, 27 Feb 2006 16:26:20 +0300 In-Reply-To: <200602272329.47792.doconnor@gsoft.com.au> (Daniel O'Connor's message of "Mon, 27 Feb 2006 23:29:46 +1030") Message-ID: <16934979_-_@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@FreeBSD.org Subject: linux_base and libreadline.so symlink (was: Re: Matlab) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2006 13:28:39 -0000 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