Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349892 - media-video/nvidia-settings-195.36.24:0 does not install with error "ld: cannot find -lXxf86vm"
Summary: media-video/nvidia-settings-195.36.24:0 does not install with error "ld: cann...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 20:21 UTC by Arseniy
Modified: 2012-04-25 04:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arseniy 2010-12-27 20:21:10 UTC
During the install of media-video/nvidia-settings-195.36.24:0 build crashes with the message  "ld: cannot find -lXxf86vm".

Reproducible: Always

Steps to Reproduce:
1. run command "sudo paludis -i nvidia-settings"

Actual Results:  
I get message "ld: cannot find -lXxf86vm". Then build stop.

Expected Results:  
Successfull installation of nvidia-settings package.

Nvidia-settings have installed successfully after rebuilding package x11-libs/libXxf86vm with use flag static-libs.

In other words, I have inserted line
 x11-libs/libXxf86vm static-libs

into the /etc/paludis/use.conf file, have rebuild libXxf86vm and then nvidia-settings successfully installs.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-12-27 20:26:34 UTC
- emerge --info (to see your arch, for instance)
- build.log from nvidia-settings-195.36.24
- and finally bug 349816, not much point in trying 195.36.24 anymore
Comment 2 Bruno 2011-04-03 20:35:55 UTC
(In reply to comment #1)
> - emerge --info (to see your arch, for instance)
> - build.log from nvidia-settings-195.36.24

Seen this as well, the reason being that nvidia-settings tries to statically link -lXxf86vm. (don't have compile log at hand right now).

Installing Xxf86vm with USE=static-libs works around this issue.


Unrelated note: build script also failed to find GTK headers on my system, I had to symlink /usr/include/gtk -> gtk-2.0/gtk for it to compile...


> - and finally bug 349816, not much point in trying 195.36.24 anymore

Bug 349816 does not really help as that version does not build the whole UI application anymore but just builds the library (wondering why the make part for UI is commented out in ebuild!).
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2012-04-25 04:29:46 UTC
173.14.3* has been fixed, 195.xx is no longer in the tree and all others should have proper dependencies.