From owner-freebsd-ports@FreeBSD.ORG Sat Nov 29 01:21:46 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 2455A1065670 for ; Sat, 29 Nov 2008 01:21:46 +0000 (UTC) (envelope-from pz-freebsd-ports@ziemba.us) Received: from ziemba.us (208-106-105-148.dsl.static.sonic.net [208.106.105.148]) by mx1.freebsd.org (Postfix) with ESMTP id E37718FC1A for ; Sat, 29 Nov 2008 01:21:45 +0000 (UTC) (envelope-from pz-freebsd-ports@ziemba.us) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.14.3/8.14.3) with ESMTP id mAT0l7ve007968 for ; Fri, 28 Nov 2008 16:47:07 -0800 (PST) (envelope-from pz-freebsd-ports@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.14.3/8.14.3/Submit) id mAT0l72I007966 for freebsd-ports@freebsd.org; Fri, 28 Nov 2008 16:47:07 -0800 (PST) (envelope-from pz-freebsd-ports@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-ports@ziemba.us using -f Received: (from news@localhost) by hairball.ziemba.us (8.14.3/8.14.3/Submit) id mAT0l1Dg007888 for treehouse-mail-freebsd-ports@hairball.treehouse.napa.ca.us; Fri, 28 Nov 2008 16:47:01 -0800 (PST) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-ports@freebsd.org Date: Sat, 29 Nov 2008 00:47:01 +0000 (UTC) Message-id: References: <49308A22.2070205@users.sf.net> Errors-to: "G. Paul Ziemba" Subject: Re: FreeBSD Port: net/linux-nx-client X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: paul+usenet@w6yx.stanford.edu List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 01:21:46 -0000 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 /usr/compat/linux/usr/local/lib where many applications expect them. 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. -- G. Paul Ziemba FreeBSD unix: 4:46PM up 9 days, 17:24, 7 users, load averages: 1.24, 1.39, 1.05