Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 00:47:01 +0000 (UTC)
From:      "G. Paul Ziemba" <pz-freebsd-ports@ziemba.us>
To:        freebsd-ports@freebsd.org
Subject:   Re: FreeBSD Port: net/linux-nx-client
Message-ID:  <ggq3e5$6ng$1@hairball.ziemba.us>
References:  <49308A22.2070205@users.sf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
gamato@users.sf.net (martinko) writes:

>Scot Hetzel wrote:
>> On Fri, Nov 28, 2008 at 4:43 PM, mato <gamato@users.sf.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ggq3e5$6ng$1>