From owner-freebsd-ports@FreeBSD.ORG Tue Aug 23 13:42:31 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 9DB2616A41F; Tue, 23 Aug 2005 13:42:31 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [213.132.78.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C01943D45; Tue, 23 Aug 2005 13:42:31 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.52 (FreeBSD)) id 1E7Z2k-000OaO-D0; Tue, 23 Aug 2005 17:42:22 +0400 To: Alexander Leidinger References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> From: Boris Samorodov Date: Tue, 23 Aug 2005 17:42:22 +0400 In-Reply-To: <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> (Alexander Leidinger's message of "Tue, 23 Aug 2005 10:40:08 +0200") Message-ID: <53322497@serv3.int.kfs.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 Sender: "B.Samorodow" Cc: Ion-Mihai Tetcu , 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 13:42:31 -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? This sounds as if After removing old linux port (rh-7) and installing a new one (rh-9): I had similar problem with non-default port: linux_base-rh-9. After adding "/usr/X11R6/lib" to /compat/linux/etc/ld.so.conf and running /compat/linux/sbin/ldconfig the problem disappeared. WBR -- bsam