LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Nvidia 32bit drivers don't work on amd64 (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-32bit-drivers-dont-work-on-amd64-269477/)

nyk 12-23-2004 03:51 AM

Nvidia 32bit drivers don't work on amd64
 
I hava a nvidia card on an amd64 using gentoo-dev-kernel (2.6.9-gentoo-r9).

When trying to install the Linux Display Driver (AMD64) v1.0-6629 from nvidia, this works, but NOT the 32bit compatibility driver!

Because this is needed by many apps, I need this to work!
I get this error:
Code:

The installer has encountered the following error during installation:
'Cannot create symlink /usr/lib/libGL.so.1 (File exists)'.

And the same message for these files:
/usr/lib/libGL.so
/usr/lib/libGLcore.so.1
/usr/lib/libnvidia-tls.so.1
/usr/lib/tls/libnvidia-tls.so.1

And then I get this error:
Code:

ERROR: The runtime configuration check failed for library 'libGL.so.1.0.6629'
(expected: '/usr/lib/libGL.so.1', found: '/usr/lib32/opengl/nvidia/lib/libGL.so.1').
The most likely reason for this is that conflicting OpenGL libraries are installed
in a location not inspected by nvidia-installer.
Please be sure you have uninstalled any third-party
penGL and third-party graphics driver packages.

(I don't use 3rd party drivers, as far as I know....)

Then I try deleting all the files it complains about.
This brings up this addiditional error, when I run the installer again:
Code:

WARNING: Your driver installation has been altered since it was initially installed;
this may happen, for example, if you have since installed the NVIDIA driver through a
mechanism other than the nvidia-installer (such as rpm or with the NVIDIA tarballs).
The nvidia-installer will attempt to uninstall as best it can.
Please see the file '/var/log/nvidia-installer.log' for details.

And then, the same error as before come up and it fails again!!! Why on earth can this be? I just deleted these files and it still can't create the symlinks?! But they exist after the installation! But 32bit lib doesn't work!

I also tried "locate libGL" and then deleting everything it finds, running ldconfig, running the nvidia installer with --uninstall. But there is always the same error.

When I install the nvidia installer without 32bit support, it works, but there are still these error (or warnings) in /var/log/nvidia-installer.log:
Code:

-> Validating previous installation:
-> The previously installed file '/usr/lib64/libGL.so.1.0.6629' has a different
  checksum (102082855) than when it was installed (3815783790).
  /usr/lib64/libGL.so.1.0.6629 will not be uninstalled.
-> The previously installed file '/usr/lib64/libGLcore.so.1.0.6629' has a
  different checksum (1899323571) than when it was installed (4119865975).
  /usr/lib64/libGLcore.so.1.0.6629 will not be uninstalled.
-> The previously installed file '/usr/lib64/libnvidia-tls.so.1.0.6629' has a
  different checksum (3524712391) than when it was installed (1621839060).
  /usr/lib64/libnvidia-tls.so.1.0.6629 will not be uninstalled.
-> The previously installed file '/usr/lib64/tls/libnvidia-tls.so.1.0.6629' has
  a different checksum (3062047001) than when it was installed (2477377309).
  /usr/lib64/tls/libnvidia-tls.so.1.0.6629 will not be uninstalled.
-> The previously installed file '/usr/lib64/libGL.la' has a different checksum
  (4074557027) than when it was installed (2250811719).  /usr/lib64/libGL.la
  will not be uninstalled.
-> done.



All times are GMT -5. The time now is 08:30 PM.