From owner-freebsd-ports@FreeBSD.ORG Tue Aug 23 08:58:22 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2738E16A41F for ; Tue, 23 Aug 2005 08:58:22 +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 DA79343D46 for ; Tue, 23 Aug 2005 08:58:20 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 4412 invoked from network); 23 Aug 2005 08:58:13 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 23 Aug 2005 08:58:13 -0000 Received: (qmail 23963 invoked by uid 89); 23 Aug 2005 08:58:13 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 23 Aug 2005 08:58:13 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id AC4E81141A; Tue, 23 Aug 2005 11:58:07 +0300 (EEST) Date: Tue, 23 Aug 2005 11:58:07 +0300 From: Ion-Mihai Tetcu To: Alexander Leidinger Message-ID: <20050823115807.45cebbf1@it.buh.tecnik93.com> In-Reply-To: <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> 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: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 08:58:22 -0000 On Tue, 23 Aug 2005 10:40:08 +0200 Alexander Leidinger wrote: > Ion-Mihai Tetcu wrote: > > > 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 ? > > Do you use a non-default linux-base port? No. > This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain > the X11 lib dir. # cat /compat/linux/etc/ld-elf.so.conf cat: /compat/linux/etc/ld-elf.so.conf: No such file or directory > If you use the default linux_base port, I'm interested in a list of > all installed linux ports in case the ld-elf.so.conf file doesn't > contains the dir. # pkg_info -I linux\* linux-XFree86-libs-4.3.99.902_3 XFree86 libraries, Linux binary linux-aspell-0.50.4.1_1 Spelling checker with better logic than ispell (linux versi linux-atk-1.2.0_3 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.5_3 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-7.0r25_2 The official Macromedia Flash Player for Linux Mozilla and linux-fontconfig-2.1_3 Linux/i386 binary of Fontconfig linux-glib2-2.2.1_3 Version 2.X Linux/i386 binary port of GLib linux-jpeg-6b.15_4 RPM of the JPEG lib linux-openmotif-2.2.4_2 Motif toolkit Linux libraries linux-opera-8.01.20050615_2 A blazingly fast, full-featured, standards-compliant browse linux-png-1.2.7_6 RPM of the PNG lib linux-sun-jdk-1.4.2.08_2 Sun Java Development Kit 1.4 for Linux linux-tiff-3.6.1_2 TIFF library, Linux/i386 binary linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386) # pkg_info -R linux_base-8-8.0_6 Information for linux_base-8-8.0_6: Required by: apache-ant-1.6.5 linux-XFree86-libs-4.3.99.902_3 linux-aspell-0.50.4.1_1 linux-atk-1.2.0_3 linux-expat-1.95.5_3 linux-fontconfig-2.1_3 linux-glib2-2.2.1_3 linux-jpeg-6b.15_4 linux-openmotif-2.2.4_2 linux-opera-8.01.20050615_2 linux-png-1.2.7_6 linux-sun-jdk-1.4.2.08_2 linux-tiff-3.6.1_2 acroread-5.10_2,1 linux-flashplugin-7.0r25_2 # grep linux /etc/rc.conf linux_enable="YES" linprocfs on /usr/compat/linux/proc (linprocfs, local) Thanks Alexander, -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect"