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, 29 Mar 2022, Steve Blinkhorn wrote:
The answer is in ld.so.conf. I had:
/usr/pkg/lib
/usr/X11R7/lib
I swapped the ordr of the two lines, and now it works.
Ahh, that could cause similar issues with X binaries in /usr/pkg/bin.
Best to just remove those 2 lines entirely.
When these programs are compiled, they're also told where their
library files are to be found. For example, /usr/X11R7/bin/xterm:
$ readelf -d /usr/X11R7/bin/xterm | fgrep RPATH
0x000000000000000f (RPATH) Library rpath: [/usr/X11R7/lib]
$
So, when xterm is run, the system will look in /usr/X11R7/lib (in
addition to /lib:/usr/lib). For programs in /usr/pkg/bin, they're set
to use /usr/pkg/lib:
$ readelf -d /usr/pkg/bin/vim | fgrep RPATH
0x000000000000000f (RPATH) Library rpath: [/usr/pkg/lib]
$
No need to supply any overrides. Also, remove modular-xorg if you've
installed that.
-RVP
Home |
Main Index |
Thread Index |
Old Index