Skip to content

Error : ld cannot find -lcudart #69

@motidil

Description

@motidil

I'm trying to run the build stage using nvcr.io/nvidia/tensorrt:22.05-py3
but stuck on the make step with the following error:

/usr/bin/ld: cannot find -lcudart
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/layerplugin.dir/build.make:344: liblayerplugin.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/layerplugin.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

OS ubuntu 20.04
ARCH: ARM64
In container:
NVIDIA Release 22.05 (build 37412549)
NVIDIA TensorRT Version 8.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions