Skip to content

unable to build on Ubuntu 24.0 with cuda 12 etc #1

Description

@davidbuzz

supposed pre-requires as per the readme:

PHP 7.0 or later
CUDA Toolkit 8.0 or later
cuBLAS (included with CUDA Toolkit)
cuDNN 7.0 or later
C compiler (gcc/clang)
PHP development files
NVTX (optional, for profiling)

my versions:
$ php --version
PHP 8.4.10 (cli) (built: Jul 3 2025 12:42:27) (NTS)

$lspci | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation TU117GLM [Quadro T2000 Mobile / Max-Q] (rev a1)

$nvidia-smi | grep 'CUDA Version'
| NVIDIA-SMI 535.230.02 Driver Version: 535.230.02 CUDA Version: 12.2 |

$hostnamectl | grep Arch
Architecture: x86-64

$hostnamectl | grep "Operating System"
Operating System: Ubuntu 24.04 LTS

cuda / toolkit:
cuda-toolkit-12-9

$nvcc --version | grep release
Cuda compilation tools, release 12.0, V12.0.140

the command i ran to try to get all the prerequisites installed, absolutely not sure about this :
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda-toolkit-12-9 cuda-nvcc-12-9 nvidia-cuda-toolkit cudnn9-cuda-12-9 nvidia-cudnn cuda-nvtx-12-9 libnvtoolsext1 libstdgpu-openmp-dev libcudnn9-headers-cuda-12 libcudnn9-dev-cuda-12 cudnn9 libcudnn-frontend-dev -o Dpkg::Options::="--force-overwrite"

suggestions.?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions