X doesn't search /usr/local/lib/xorg/modules by default?
Peter Hutterer
peter.hutterer at who-t.net
Sun Dec 21 14:24:47 PST 2014
On Sat, Dec 20, 2014 at 11:06:21PM +0000, Colin Macdonald wrote:
> While testing input-evdev, I removed my distro (Fedora) provided
> xorg-x11-drv-evdev package and did a "make install" from source into
> /usr/local/lib/xorg/modules.
>
> I was rather shocked ("hmmm, my machine has working wacom but no
> keyboard or trackpoint...") that X does not search /usr/local/lib by
> default. Of course it worked after I added a xorg.conf.d/ snippet:
>
> > Section "Files"
> > ModulePath "/usr/local/lib/xorg/modules"
> > ModulePath "/usr/lib64/xorg/modules"
> > EndSection
>
> But should I have to do that? Is this a bug or the intended behaviour?
see Alan's post for a better general answer, for Fedora you best run
./configure --prefix=/usr --libdir=/usr/lib64
you can also rebuild the xorg-x11-drv-evdev package locally and check the
configure line we pass in through the spec files, but the above will be
enough.
Cheers,
Peter
More information about the xorg-devel
mailing list