From owner-freebsd-ports@FreeBSD.ORG Sat Nov 29 20:25:17 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C72EF1065673 for ; Sat, 29 Nov 2008 20:25:17 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7634D8FC0A for ; Sat, 29 Nov 2008 20:25:17 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1L6WNP-0000iv-1A; Sat, 29 Nov 2008 23:25:15 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L6WNO-000B4c-O3; Sat, 29 Nov 2008 23:25:14 +0300 To: paul+usenet@w6yx.stanford.edu References: <49308A22.2070205@users.sf.net> From: Boris Samorodov Date: Sat, 29 Nov 2008 23:25:14 +0300 In-Reply-To: (G. Paul Ziemba's message of "Sat\, 29 Nov 2008 00\:47\:01 +0000 \(UTC\)") Message-ID: <01904501@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: net/linux-nx-client 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: Sat, 29 Nov 2008 20:25:17 -0000 "G. Paul Ziemba" writes: > gamato@users.sf.net (martinko) writes: > >>Scot Hetzel wrote: >>> On Fri, Nov 28, 2008 at 4:43 PM, mato wrote: >>>> Hi, >>>> >>>> I've just installed net/linux-nx-client on FreeBSD 6.4 and after launching >>>> it I got: >>>> >>>> $ nxclient >>>> /usr/local/lib/linux-nx-client/bin/nxclient: error while loading shared >>>> libraries: libXext.so.6: cannot open shared object file: No such file or >>>> directory >>>> >>>> The library in need is located here: >>>> -rwxr-xr-x 1 root wheel 67306 Oct 8 18:07 /usr/local/lib/libXext.so.6 >>>> >>> That's the wrong library, you need the linux libXext.so.6 which should >>> be located under /usr/compat/linux. >>> >>> Scot > >>Which it is not. A missing dependency ? > > On my system, for some reason these libraries get installed (by the > linux* ports) in /usr/compat/linux/usr/X11R6/lib rather than in Yes, it is supposed to. > /usr/compat/linux/usr/local/lib where many applications expect them. That is wrong. If that's true for your system than something is wrong with your system/configuration. > I have been manually creating symlinks in /usr/compat/linux/usr/local/lib, > e.g., > > cd /usr/compat/linux/usr/local/lib > ln -s ../../X11R6/lib/libXext.so.6 > > I'm not sure why I need to make these links or if there is a better > approach, but it works for me. By default linuxulator looks for files first at /usr/compat/linux directories and only if it fails then /usr/local is used. I.e. if you have /usr/compat/linux/usr/X11R6/lib/libXext.so.6 than it should be found by linuxulator and no symlinking is needed. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve