Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: still can't get X going on 9.2



On Tue, Mar 29, 2022 at 11:51:34AM +0000, Steve Blinkhorn wrote:
> The answer is in ld.so.conf.  I had:
> 
> /usr/pkg/lib
> /usr/X11R7/lib

If you do not have special needs that require those lines, I would
suggest to just remove them (or the whole file). In all "sane" setups
the binaries know where there libs are supposed to be and find them
automatically.

You can see them with:

 > readelf -d /usr/X11R7/bin/xterm 

It will have a (NEEDED) line for all libs and (RPATH) for the path to
additional libs. If you don't move things arbitrarily around both
base and pkgsrc make sure everything works out of the box (i.e. w/o any
ld.so.conf entries).

Martin


Home | Main Index | Thread Index | Old Index