View Single Post
Old 05-07-09, 04:37 PM   #7
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: Nvidia driver installation fails on Ubuntu Jaunty

You can override the detection with the --x-module-path and --x-library-path options. Here's the relevant section from the man page:
Code:
       --x-module-path=X-MODULE-PATH
              The  path under which the NVIDIA X server modules will be installed.  If this option is not speci-
              fied, nvidia-installer uses the following search order and selects the first  valid  directory  it
              finds:  1) `X -showDefaultModulePath`, 2) `pkg-config --variable=moduledir xorg-server`, or 3) the
              X library path (see the '--x-library-path' option) plus either 'modules' (for X servers older than
              X.Org 7.0) or 'xorg/modules' (for X.Org 7.0 or later).

       --x-library-path=X-LIBRARY-PATH
              The  path  under which the NVIDIA X libraries will be installed.  If this option is not specified,
              nvidia-installer uses the following search order and selects the first valid directory  it  finds:
              1) `X -showDefaultLibPath`, 2) `pkg-config --variable=libdir xorg-server`, or 3) the X prefix (see
              the '--x-prefix' option) plus 'lib' on 32bit systems, and either 'lib64' or 'lib'  on  64bit  sys-
              tems, depending on the installed Linux distribution.
These should probably be --x-module-path=/usr/lib/xorg/modules and --x-library-path=/usr/lib, respectively.
AaronP is offline   Reply With Quote