Public bug reported: Hello~
I expected pkg-config to be able to give me information about "cuda", but instead I got: root@71f807687755:/alvr# pkg-config --libs --cflags cuda Package cuda was not found in the pkg-config search path. Perhaps you should add the directory containing `cuda.pc' to the PKG_CONFIG_PATH environment variable No package 'cuda' found Adding a file /usr/share/pkgconfig/cuda.pc fixes it: https://github.com/Toxblh/ALVR/blob/nvidia-linux/packaging/deb/cuda.pc: root@71f807687755:/alvr# pkg-config --libs --cflags cuda -I/usr/lib/cuda/include -L/usr/lib/cuda/lib64/stubs -lcuda --- Versions --- This is just a Docker container running `ubuntu:latest`. root@71f807687755:/alvr# lsb_release -rd Description: Ubuntu 20.04.3 LTS Release: 20.04 root@71f807687755:/alvr# apt-cache policy nvidia-cuda-toolkit nvidia-cuda-toolkit: Installed: 10.1.243-3 Candidate: 10.1.243-3 Version table: *** 10.1.243-3 500 500 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages 100 /var/lib/dpkg/status ~ckie ** Affects: nvidia-cuda-toolkit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1957119 Title: pkg-config definition file is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1957119/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
