From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 22 19:09:12 2005 Return-Path: X-Original-To: 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 1FB4116A420 for ; Mon, 22 Aug 2005 19:09:12 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id CFB4C43D45 for ; Mon, 22 Aug 2005 19:09:10 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 31505 invoked from network); 22 Aug 2005 19:09:07 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 22 Aug 2005 19:09:07 -0000 Received: (qmail 20083 invoked by uid 89); 22 Aug 2005 19:09:06 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 22 Aug 2005 19:09:06 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id DD3541141A; Mon, 22 Aug 2005 22:09:01 +0300 (EEST) Date: Mon, 22 Aug 2005 22:09:01 +0300 From: Ion-Mihai Tetcu To: emulation@FreeBSD.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Message-ID: <20050822220901.5ca28e3c@it.buh.tecnik93.com> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: shared libs trouble with linux binaries 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, 22 Aug 2005 19:09:12 -0000 [ please keep the cc ] Hi, this is a clean 5.4 desktop with latest ports, installed with -DBATCH and probably I've missed something, because: > acroread /usr/X11R6/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory > linux-opera /usr/X11R6/share/linux-opera/bin/opera: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory > locate libXt.so /usr/X11R6/lib/libXt.so /usr/X11R6/lib/libXt.so.6 /usr/compat/linux/usr/X11R6/lib/libXt.so.6 /usr/compat/linux/usr/X11R6/lib/libXt.so.6.0 > ll /usr/compat/linux/usr/X11R6/lib/libXt.so.6 lrwxr-xr-x 1 root wheel 12 Jul 25 19:59 /usr/compat/linux/usr/X11R6/lib/libXt.so.6 -> libXt.so.6.0 Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh access to the machine now), hence now it dies with Error: Can't open display: I guess I could create a /etc/ld-elf.so.conf to fix the problem, but on other desktops I don't have it and I can't find the difference with this one. Could anyone point me in the right direction ? Thanks, -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect"