|
|
#1 | |
|
Registered User
Join Date: Apr 2011
Posts: 5
|
On my 64-bit Gentoo install the driver seems to install and function correctly with xorg-server-1.10, but Gentoo reports a reverse dependency problem as stated in the title:
Code:
Q6600 ~ # revdep-rebuild -ip * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 16% ] * broken /usr/bin/nvidia-smi (requires libnvidia-ml.so.1) [ 100% ] * Generated new 3_broken.rr * Assigning files to packages * /usr/bin/nvidia-smi -> x11-drivers/nvidia-drivers * Generated new 4_raw.rr and 4_owners.rr * Cleaning list of packages to rebuild * Generated new 4_pkgs.rr * Assigning packages to ebuilds * Generated new 4_ebuilds.rr * Evaluating package order * Generated new 5_order.rr * All prepared. Starting rebuild emerge --oneshot --pretend x11-drivers/nvidia-drivers:0 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R #] x11-drivers/nvidia-drivers-270.30 nvidia-smi does exist in /usr/bin, but libnvidia-ml* does not exist anywhere: Code:
Q6600 ~ # ls -al /usr/lib/libnvidia-ml.so.1 ls: cannot access /usr/lib/libnvidia-ml.so.1: No such file or directory Code:
Q6600 ~ # locate libnvidia /usr/lib32/libnvidia-compiler.so /usr/lib32/libnvidia-compiler.so.1 /usr/lib32/libnvidia-compiler.so.270.30 /usr/lib32/libnvidia-glcore.so /usr/lib32/libnvidia-glcore.so.1 /usr/lib32/libnvidia-glcore.so.270.30 /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.270.30 /usr/lib64/libnvidia-cfg.so.1 /usr/lib64/libnvidia-cfg.so.270.30 /usr/lib64/libnvidia-compiler.so /usr/lib64/libnvidia-compiler.so.1 /usr/lib64/libnvidia-compiler.so.270.30 /usr/lib64/libnvidia-glcore.so /usr/lib64/libnvidia-glcore.so.1 /usr/lib64/libnvidia-glcore.so.270.30 /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.270.30 |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
|
the ebuild is broken then ?
that lib is in the official driver: http://www.nvnews.net/vbulletin/show....php?p=2404906 also attaching the bug-report is useless here since your system does not contain the nvidia install build log: Quote:
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr 2011
Posts: 5
|
Hmm...you're right about that log file. I wonder why it wasn't produced?
Unfortunately, xorg updated but gentoo does not have the 270.30 driver in portage as yet. I got the driver out of the stuff overlay, and it does seem to work properly, although it's reporting that unsatisfied dependency. What exactly is that library responsible for, and will I miss it until the 270.30 is in the tree? AFAICT I won't miss it, but I'm not 100% sure yet. ebuild is attached below, if you are interested. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Apr 2011
Posts: 5
|
I seem to have solved the error by downloading an Arch tarball and extracting the missing libraries and symlinks to /usr/lib32 and /usr/lib64. Everything seems to work and revdep-rebuild is happy now.
Thanks for pointing me in the right direction. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Aug 2008
Posts: 50
|
I don't know what ebuild you are using but i renamed the ebuild of 270.26 version to 270.30 and all worked perfectly, even that file you said was missing is present in my installation
![]() |
|
|
|
|
|
#6 | |
|
NVIDIA Corporation
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
|
That's probably a Gentoo packaging bug.
libnvidia-ml is the NVIDIA Management Library. The cross-platform NVML API provides functions for querying and configuring the GPU. nvidia-smi, which was formerly a standalone app, is now an NVML client. Since the libnvidia-ml DSO is new in the 270.xx drivers, it seems likely that some distro maintainers might have missed it when repackaging the driver. |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Apr 2011
Posts: 5
|
Thanks for that information, danix. I'll see if I can confirm that with people in the know from the Gentoo side.
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jan 2009
Posts: 57
|
http://packages.gentoo.org/package/x...nvidia-drivers
270.30 is not yet in portage. I have no problems with /usr/lib/libnvidia-ml.so.1 file and older (official) ebuild copied to 270.30. |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Apr 2011
Posts: 5
|
It must be a problem with the ebuild in the stuff overlay. Just to test it I might do as you say and copy over the 270.18 to 270.30 and see if it installs correctly.
|
|
|
|
|
|
#10 |
|
Registered User
Join Date: Nov 2007
Posts: 70
|
He'll also need to change the xorg-server dependency from <x11-base/xorg-server-1.10.0 to <x11-base/xorg-server-1.10.99 when copying that ebuild, otherwise it will block xorg-server-1.10.0.
|
|
|
|
![]() |
| Thread Tools | |
|
|