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

[Momonga-devel.en:00002] Tips for using NVIDIA GLX with cvs HEAD branch

When the NVIDIA_GLX (nvidia's binary only driver) is installed on a
HEAD system, it may cause certain package builds to fail. Some
packages assume the system GL libraries to be located under
/usr/X11R6/lib, but the nvidia packages removes those and instead
places its own under /usr/lib.

Though we could modify every package to fix this, instead the
suggested solution is to run the following two command as root:

ln -s /usr/lib/libGL.so.1 /usr/X11R6/lib/libGL.so
ln -s /usr/lib/libGL.so.1 /usr/X11R6/lib/libGL.so.1

By doing so, you essentially replicate XFree86's original file tree
structure under /usr/X11R6/lib (so compiles work) while using nvidia's
driver. This also enables compatibility with all other packages that
require (or assume) libGL stuff to eb under /usr/X11R6/

When, building packages for binary distribution, however, it is still
recommended that you do not install the NVIDIA_GLX package. You may
risk introducing incompatibilities with non NVidia based systems.