Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make not finding nvidia libs in an AMD installation on Fedora. #52

Open
AkioET opened this issue Apr 20, 2023 · 2 comments
Open

Make not finding nvidia libs in an AMD installation on Fedora. #52

AkioET opened this issue Apr 20, 2023 · 2 comments

Comments

@AkioET
Copy link

AkioET commented Apr 20, 2023

I'm getting errors when trying to run make because it can't find an nvidia library even though I'm installing on an AMD system. I've tried finding the missing lib to install but I can't seem to find it on Fedora 36. Below is the Make log.

g++ -Wl,-O1 -o tuxclocker main.o mainwindow.o qcustomplot.o editprofile.o newprofile.o plotwidget.o nvidia.o qrc_resources.o moc_mainwindow.o moc_qcustomplot.o moc_editprofile.o moc_newprofile.o moc_plotwidget.o moc_nvidia.o -lXext -lXNVCtrl -lX11 -lnvidia-ml /usr/lib64/libQt5PrintSupport.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -lpthread
/usr/bin/ld: cannot find -lnvidia-ml
collect2: error: ld returned 1 exit status
make: *** [Makefile:182: tuxclocker] Error 1

@leigh123linux
Copy link

nvidia-ml is provided by the xorg-x11-drv-nvidia-cuda-libs package from rpmfusion

@pallaswept
Copy link

nvidia-ml is provided by the xorg-x11-drv-nvidia-cuda-libs package from rpmfusion

One shouldn't really need to install nvidia libs to build for AMD though. And the build scripts build the AMD plugin without any reference to the nvidia libs. And there's nothing in the compilation instructions about running make. This issue is quite old, so perhaps things have changed, but the solution is not to install nvidia libraries, it's just to build it according to those instructions, and it will only build the AMD plugin for this user with AMD hardware and drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants