Subject: Re: xorg and shared libraries
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Staffan Thomen <duck@multi.fi>
List: netbsd-users
Date: 01/07/2005 07:26:54
Steven M. Bellovin wrote:
> I just set up a machine with only xorg. That is, I didn't install any
> of the X packages from the distribution. (Well, the CD I built; it's
> -current from yesterday.) I then built xorg from source. When I try
> to run anything -- including such things as xterm -- it tells me that
> it can't find things like libX11.so.6.
>
> I can bypass the problem by creating a symlink X11R6 that points to pkg/xorg.
> Apart from that being ugly, when I install new distributions (this
> machine does run -current) it will remove that symlink and create a
> dummy tree. Is there any clean way around the problem?
I worked around this (shouldn't rpaths be set properly here, at least
for pkgsrc-built stuff?) by adding /usr/pkg/xorg/lib to /etc/ld.so.conf,
and everything is fine.
--
Staffan Thomén