Problem creating my devel container in jetson AGX container

Hello

I need for compiling tkdnn project:
cuda 10.2 - dev
cudnn 8.0.0 - dev
tensorrt 7.2. -dev

I need to do this inside a container, but… you didn’t upload previous devel for docker pull nvcr.io/nvidia/l4t-base:

My first approach in my 32.6 flashed agx jetson, was using containers which have self contained cuda packages(from docker pull nvcr.io/nvidia/l4t-cuda:10.2.460-runtime)

Then,inside the container , add repositories

ARCH=arm64 SOC=t194
https://developer.download.nvidia.com/compute/cuda/repos/${OS}/${ARCH}

… and install the next packages …

ENV NV_CUDNN_VERSION 8.2.4.15 ENV NV_CUDNN_PACKAGE_NAME libcudnn8
ENV NV_CUDNN_PACKAGE ${NV_CUDNN_PACKAGE_NAME}=${NV_CUDNN_VERSION}-1+cuda10.2
ENV NV_CUDNN_PACKAGE_DEV ${NV_CUDNN_PACKAGE_NAME}-dev=${NV_CUDNN_VERSION}-1+cuda10.2

…with…

apt install -y --no-install-recommends \
    ${NV_CUDNN_PACKAGE} \
    ${NV_CUDNN_PACKAGE_DEV} && \
    apt-mark hold ${NV_CUDNN_PACKAGE_NAME} && \

At this point I can compile opencv, so it’is fine.

But the tkdnn project i am trying to compile, requires tensorrt-dev, I try to satisfy it with:

apt install -y  libnvinfer7=${TRT_VERSION} \
                    libnvonnxparsers7=${TRT_VERSION} \
                    libnvparsers7=${TRT_VERSION} \
                    libnvonnxparsers-dev=${TRT_VERSION} \
                    libnvparsers-dev=${TRT_VERSION} \
                    libnvinfer-plugin7=${TRT_VERSION} \
                    libnvinfer-plugin-dev=${TRT_VERSION} \
                    libnvinfer-dev=${TRT_VERSION} python-libnvinfer=${TRT_VERSION} \
                    python3-libnvinfer=${TRT_VERSION} 
apt-mark hold libnvinfer7 libnvonnxparsers7 libnvparsers7 libnvinfer-plugin7 libnvinfer-dev libnvonnxparsers-dev libnvparsers-dev libnvinfer-plugin-dev python-libnvinfer python3-libnvinfer

Everything looks fine, but libraries are not well linked.

/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
collect2: error: ld returned 1 exit status

And I cannot find a devel ngc image for my need. Even taking into account that what I am trying to get is the r32.4 cuda-x versions.

Just in case it could be helpful, cmake -LA gives this output:

Cloning into 'tkDNN'...
CMake Warning (dev) at CMakeLists.txt:21:
  Syntax Warning in cmake code at column 30

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda (found suitable version "10.2", minimum required is "9.0") 
-- Found CUDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so
-- Found CUDNN include: /usr/include
-- Found NVINFER: /usr/lib/aarch64-linux-gnu/libnvinfer.so
-- Found NVINFER include: /usr/include/aarch64-linux-gnu
-- Found CUDNN: /usr/lib/aarch64-linux-gnu/libcudnn.so  
Eigen DIR: /usr/include/eigen3
-- Found OpenCV: /usr/local (found version "4.5.2") 
install dir:/usr/local
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_LIBRARY (ADVANCED)
    linked by target "tkDNN" in directory /tmp/install_tkdnn/tkDNN
    linked by target "kernels" in directory /tmp/install_tkdnn/tkDNN

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
-- Cache values
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
CMAKE_AR:FILEPATH=/usr/bin/ar
CMAKE_BUILD_TYPE:STRING=
CMAKE_COLOR_MAKEFILE:BOOL=ON
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
CMAKE_CXX_FLAGS:STRING=
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
CMAKE_C_FLAGS:STRING=
CMAKE_C_FLAGS_DEBUG:STRING=-g
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
CMAKE_EXE_LINKER_FLAGS:STRING=
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
CMAKE_LINKER:FILEPATH=/usr/bin/ld
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
CMAKE_MODULE_LINKER_FLAGS:STRING=
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_NM:FILEPATH=/usr/bin/nm
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
CMAKE_READELF:FILEPATH=/usr/bin/readelf
CMAKE_SHARED_LINKER_FLAGS:STRING=
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
CMAKE_SKIP_RPATH:BOOL=NO
CMAKE_STATIC_LINKER_FLAGS:STRING=
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_STRIP:FILEPATH=/usr/bin/strip
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
CUDA_64_BIT_DEVICE_CODE:BOOL=ON
CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON
CUDA_BUILD_CUBIN:BOOL=OFF
CUDA_BUILD_EMULATION:BOOL=OFF
CUDA_CUDART_LIBRARY:FILEPATH=/usr/local/cuda/lib64/libcudart.so
CUDA_CUDA_LIBRARY:FILEPATH=CUDA_CUDA_LIBRARY-NOTFOUND
CUDA_GENERATED_OUTPUT_DIR:PATH=
CUDA_HOST_COMPILATION_CPP:BOOL=ON
CUDA_HOST_COMPILER:FILEPATH=/usr/bin/cc
CUDA_NVCC_EXECUTABLE:FILEPATH=/usr/local/cuda/bin/nvcc
CUDA_NVCC_FLAGS:STRING=
CUDA_NVCC_FLAGS_DEBUG:STRING=
CUDA_NVCC_FLAGS_MINSIZEREL:STRING=
CUDA_NVCC_FLAGS_RELEASE:STRING=
CUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING=
CUDA_OpenCL_LIBRARY:FILEPATH=CUDA_OpenCL_LIBRARY-NOTFOUND
CUDA_PROPAGATE_HOST_FLAGS:BOOL=ON
CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND
CUDA_SEPARABLE_COMPILATION:BOOL=OFF
CUDA_TOOLKIT_INCLUDE:PATH=/usr/local/cuda/include
CUDA_TOOLKIT_ROOT_DIR:PATH=/usr/local/cuda
CUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON
CUDA_VERBOSE_BUILD:BOOL=OFF
CUDA_VERSION:STRING=10.2
CUDA_cublas_LIBRARY:FILEPATH=CUDA_cublas_LIBRARY-NOTFOUND
CUDA_cudadevrt_LIBRARY:FILEPATH=/usr/local/cuda/lib64/libcudadevrt.a
CUDA_cudart_static_LIBRARY:FILEPATH=/usr/local/cuda/lib64/libcudart_static.a
CUDA_cufft_LIBRARY:FILEPATH=CUDA_cufft_LIBRARY-NOTFOUND
CUDA_cupti_LIBRARY:FILEPATH=CUDA_cupti_LIBRARY-NOTFOUND
CUDA_curand_LIBRARY:FILEPATH=CUDA_curand_LIBRARY-NOTFOUND
CUDA_cusolver_LIBRARY:FILEPATH=CUDA_cusolver_LIBRARY-NOTFOUND
CUDA_cusparse_LIBRARY:FILEPATH=CUDA_cusparse_LIBRARY-NOTFOUND
CUDA_nppc_LIBRARY:FILEPATH=CUDA_nppc_LIBRARY-NOTFOUND
CUDA_nppi_LIBRARY:FILEPATH=CUDA_nppi_LIBRARY-NOTFOUND
CUDA_nppial_LIBRARY:FILEPATH=CUDA_nppial_LIBRARY-NOTFOUND
CUDA_nppicc_LIBRARY:FILEPATH=CUDA_nppicc_LIBRARY-NOTFOUND
CUDA_nppicom_LIBRARY:FILEPATH=CUDA_nppicom_LIBRARY-NOTFOUND
CUDA_nppidei_LIBRARY:FILEPATH=CUDA_nppidei_LIBRARY-NOTFOUND
CUDA_nppif_LIBRARY:FILEPATH=CUDA_nppif_LIBRARY-NOTFOUND
CUDA_nppig_LIBRARY:FILEPATH=CUDA_nppig_LIBRARY-NOTFOUND
CUDA_nppim_LIBRARY:FILEPATH=CUDA_nppim_LIBRARY-NOTFOUND
CUDA_nppist_LIBRARY:FILEPATH=CUDA_nppist_LIBRARY-NOTFOUND
CUDA_nppisu_LIBRARY:FILEPATH=CUDA_nppisu_LIBRARY-NOTFOUND
CUDA_nppitc_LIBRARY:FILEPATH=CUDA_nppitc_LIBRARY-NOTFOUND
CUDA_npps_LIBRARY:FILEPATH=CUDA_npps_LIBRARY-NOTFOUND
CUDA_nvToolsExt_LIBRARY:FILEPATH=/usr/local/cuda/lib64/libnvToolsExt.so
CUDA_rt_LIBRARY:FILEPATH=/usr/lib/aarch64-linux-gnu/librt.so
CUDNN_INCLUDE_DIR:PATH=/usr/include
CUDNN_LIBRARY:FILEPATH=/usr/lib/aarch64-linux-gnu/libcudnn.so
Eigen3_DIR:PATH=/usr/lib/cmake/eigen3
NVINFER_INCLUDE_DIR:PATH=/usr/include/aarch64-linux-gnu
NVINFER_LIBRARY:FILEPATH=/usr/lib/aarch64-linux-gnu/libnvinfer.so
OpenCV_DIR:PATH=/usr/local/lib/cmake/opencv4
yaml-cpp_DIR:PATH=/usr/lib/aarch64-linux-gnu/cmake/yaml-cpp

So, my guess is tensorRT is missmatching with something, but is rare because i am using r32.4 version, also tried with r32.5 versions. (Just a bit of downgrading tensorrt according to jetpack archive website)

Hi @masip85, there is an l4t-tensorrt container that you can use if you need self-contained cuDNN/TensorRT runtimes. Alternatively, you can just use l4t-base which mounts CUDA/cuDNN/TensorRT (plus the dev headers) into the container at runtime with --runtime nvidia

If you are using l4t-base and you need CUDA/ect during docker build operations, then make the nvidia runtime the default like shown here: https://github.com/dusty-nv/jetson-containers#docker-default-runtime

Hello

I tried that and coulnd’t:

By the way, NVIDIA NGC doesn’t accomplish my tensor7 requirement. Why do you have only one version? there are 0 alternative versions of that container :(

Maybe my error was because I wasn’t using nvidia runtime as default? I can’t recall. But I wonder:
Is mandatory inhereit from host for compiling cuda&cudnn&trt projects inside the containers?

I ask this,because, we’ve got different nvidias with different jetson packs. Following your advice, the compilation inside the base container will behave different according to the different hosts with its different host cuda versions. right?

Please, @dusty_nv , could you reply at least my first two questions?

  • What do we do if we need previous tensorRT versions in NVIDIA NGC ?

  • Is mandatory inhereit from host for compiling cuda&cudnn&trt projects inside the containers?

Sorry for the delay - the l4t-tensorrt container was new with JetPack 4.6, and it’s the first version of that container, hence only TensorRT 8 container is available. Currently you should only run the version of CUDA/cuDNN/TensorRT that come with that particular version of JetPack, due to low-level dependencies in the L4T kernel and GPU driver. However in the future, we are moving towards the model of having CUDA/cuDNN/TensorRT installed inside the containers with the option of having different versions of those.

It’s not mandatory persay, and you can in theory create your own CUDA/cuDNN/TensorRT containers by installing the debian packages into them. If you need an older version of TensorRT, I would currently recommend using the older version of JetPack that ships with your desired version of TensorRT.

Yes,in theory I can,it is, but in fact I can’t (as you can see it in my first post). How could we double check that?

According to other post or comments… looks like the theory goes in the opposite direction.

Sorry, I should have been more clear - you should be able to install the same version of CUDA/cuDNN/TensorRT that comes with JetPack into a container. You can get the debian packages from SDK Manager or by adding the NVIDIA apt repo into your dockerfile (the same ones under /etc/apt/sources.list.d/nvidia-l4t-apt-source.list). The later option would allow you to install it using apt-get install commands in the Dockerfile.

1 Like

Ok, but I guess, because is the goal in all this, I can change the version. I mean, when using
RUN echo “deb https://repo.download.nvidia.com/jetson/common $RELEASE main” >> /etc/apt/sources.list
I should be able to choose inside the container whichever release I want. Isn’t it?

In theory yes you can change the release to install different versions of the packages, however it isn’t officially supported. In particular if you install a newer version of TensorRT than the underlying version of JetPack, there can be incompatibilities in the L4T kernel and GPU driver.

1 Like

Please, I’ve struggling a lot with this, and I’ve encountered same problem after many workaround. (A problem I doesn’t found when I compile the project using cuda-cudnn-trt inherited from host).

In a host with:
R32 (release), REVISION: 5.1
I can make an image replacing release for RELEASE ?= r32.4. If I compile:

Executing your own makefile until this line:

Note: I replaced original FROM docker://arm64v8/ubuntu:18.04 by FROM ubuntu:18.04

Then, for obtaining Cuda-Cudnn-TRT-DEV I use this Dockerfile:

ARG BASE_IMAGE=invalid

FROM ${BASE_IMAGE}

#8.2.4.15 #8.2.1.32
ENV NV_CUDNN_VERSION 8.0.0.180
ENV NV_CUDNN_PACKAGE_NAME libcudnn8
ENV NV_CUDNN_PACKAGE ${NV_CUDNN_PACKAGE_NAME}=${NV_CUDNN_VERSION}-1+cuda10.2
ENV NV_CUDNN_PACKAGE_DEV ${NV_CUDNN_PACKAGE_NAME}-dev=${NV_CUDNN_VERSION}-1+cuda10.2
ENV TRT_VERSION="7.1.3-1+cuda10.2"


# Install cuda
RUN apt-get update && apt install cuda-toolkit-10-2 -y 


# Install cuDNN
#cuDNN dev necessary for compiling opencv and tkdnn
RUN apt install -y --no-install-recommends \
    ${NV_CUDNN_PACKAGE} \
    ${NV_CUDNN_PACKAGE_DEV} && \
    apt-mark hold ${NV_CUDNN_PACKAGE_NAME} 
#Install Tensor-RT 
# tensorRT-dev necessary for compiling tkdnn
RUN apt update && apt install -y  libnvinfer7=${TRT_VERSION} \
                    libnvonnxparsers7=${TRT_VERSION} \
                    libnvparsers7=${TRT_VERSION} \
                    libnvonnxparsers-dev=${TRT_VERSION} \
                    libnvparsers-dev=${TRT_VERSION} \
                    libnvinfer-plugin7=${TRT_VERSION} \
                    libnvinfer-plugin-dev=${TRT_VERSION} \
                    libnvinfer-dev=${TRT_VERSION} python-libnvinfer=${TRT_VERSION} \
                    python3-libnvinfer=${TRT_VERSION} 
RUN apt-mark hold libnvinfer7 libnvonnxparsers7 libnvparsers7 libnvinfer-plugin7 libnvinfer-dev libnvonnxparsers-dev libnvparsers-dev libnvinfer-plugin-dev python-libnvinfer python3-libnvinfer

I compile this dockerfile adding this to original Makefile:

docker build $(DOCKER_BINFMT_MISC) -t $(L4T_CUDA_REGISTRY)-dev:$(TAG) \
--build-arg "BASE_IMAGE=$(L4T_CUDA_REGISTRY):$(TAG)" 
--build-arg "RELEASE=$(RELEASE)" \
-f ./Dockerfile.cudadev-cudnndev-trtdev ./

So, I have a perfect image with dev versions of cuda, cudnn and tensorRT. Is the same I get when I use a inherited version (l4t-base). I’ve respected using a newer jetpack host than debian release repository.

Then I compile opencv perfectly,with cuda and cudnn capabilities. And then I get an error, the same error I explained 3 weeks ago. The process to get the error is:

# COMPILING TKDNN
WORKDIR /usr/local/src
ARG TTAG=standalone-container
ARG TKDNN_URL=https://gitlab.bsc.es/elastic-h2020/elastic-use-cases/object-detection-and-tracking/tkdnn.git
RUN git clone --depth  1 --branch ${TTAG} ${TKDNN_URL}  \
    && mkdir tkdnn_build
# COPY . ./tkdnn
# RUN mkdir tkdnn_build

WORKDIR /usr/local/src/tkdnn_build
RUN cmake \
    -G Ninja \
    -D CMAKE_INSTALL_PREFIX=/usr/local/tkdnn \
    /usr/local/src/tkdnn
RUN ninja -j$(nproc) \
    && ninja install -j$(nproc)

Then, I get the exact same error I got using Jetpack 32.6 host (see first post Oct 12th):

[93/149] Linking CXX executable seg_demo
FAILED: seg_demo 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/seg_demo.dir/demo/demo/seg_demo.cpp.o -o seg_demo -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
collect2: error: ld returned 1 exit status
[94/149] Linking CXX executable demo
FAILED: demo 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/demo.dir/demo/demo/demo.cpp.o -o demo -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib:  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
collect2: error: ld returned 1 exit status
[95/149] Linking CXX executable demoTracker
FAILED: demoTracker 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/demoTracker.dir/demo/demo/demoTracker.cpp.o -o demoTracker -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
collect2: error: ld returned 1 exit status
[96/149] Linking CXX executable test_shelfnet_mapillary
FAILED: test_shelfnet_mapillary 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/test_shelfnet_mapillary.dir/tests/shelfnet/shelfnet_mapillary.cpp.o -o test_shelfnet_mapillary -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
collect2: error: ld returned 1 exit status
[97/149] Building CXX object CMakeFiles/test_yolo4tiny_512.dir/tests/darknet/yolo4tiny_512.cpp.o
[98/149] Building CXX object CMakeFiles/test_imuodom.dir/tests/imuodom/imuodom.cpp.o
[99/149] Building CXX object CMakeFiles/test_yolo4_mmr.dir/tests/darknet/yolo4_mmr.cpp.o
[100/149] Building CXX object CMakeFiles/test_yolo4_320.dir/tests/darknet/yolo4_320.cpp.o
ninja: build stopped: subcommand failed.
The command '/bin/sh -c ninja -j$(nproc)     && ninja install -j$(nproc)' returned a non-zero code: 1
nvidiatemp@agx0:~/tkdnn/docker$ sr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
rch64-linux-gnu/libnvinfer.so: undefined referencebash: sr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
b/aarch64-linux-gnu/libnvinfer.so: undefined referbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
libnvinfer.so: undefined reference to `NvMediaDlaDbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
estroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarference to `NvMediaDlaDestroy'undefined ref
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
efined reference to `NvMediaDlaSetCurrentLoadable'bash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory

/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefinnvidiatemp@agx0:~/tkdnn/docker$ /usr/ference to `NvMediaDlaSetCurrentLoadable'fined ref
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
> collect2: error: ld returned 1 exit status
> [95/149] Linking CXX executable demoTracker
> FAILED: demoTracker 
> : && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/demoTracker.dir/demo/demo/demoTracker.cpp.o -o demoTracker -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
> /usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
> /usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
nux-gnu/libnvinfer.so: undefined reference to `NvMbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
ediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfference to `NvMediaDlaGetMaxOutstandingTasks'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
usr/lib/aarch64-linux-gnu/libnvinfer.so: undefinedbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
 reference to `NvMediaEglStreamProducerGetTensor'
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
lib/aarch64-linux-gnu/libnvinfer.so: undefined refbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
gnu/libnvinfer.so: undefined reference to `NvMediabash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
TensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linuference to `NvMediaTensorGetStatus'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
usr/lib/aarch64-linux-gnu/libnvinfer.so: undefinedbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
 reference to `nvdla::destroyWisdom(nvdla::IWisdomnvidiatemp@agx0:~/tkdnn/docker$ /usrference to `nvdla::destroyWisdom(nvdla::IWisdom*)'f
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
bash: command substitution: line 1: syntax error near unexpected token `nvdla::IWisdom*'
bash: command substitution: line 1: `nvdla::destroyWisdom(nvdla::IWisdom*)''
: undefined reference to `NvMediaDeviceDestroy'
/ubash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
arch64-linux-gnu/libnvinfer.so: undefined referencbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
e to `NvMediaTensorEglStreamConsumerCreate'
/usr/lnvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefiference to `NvMediaTensorEglStreamConsumerCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
o: undefined reference to `nvdla::createNetwork()'bash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory

/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefinnvidiatemp@agx0:~/tkdnn/docker$ /usr/ference to `nvdla::createNetwork()': undefined ref
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
arch64-linux-gnu/libnvinfer.so: undefined referencbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
e to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linnvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinference to `NvMediaDlaLoadLoadable'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
vinfer.so: undefined reference to `NvMediaDlaGetNubash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
mEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.sonvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarchference to `NvMediaDlaGetNumEngines'd ref
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
efined reference to `NvMediaDeviceCreate'
/usr/libbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
ned 1 exit status
[96/149] Linking CXX executable bash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ collect2: error: ld returned 1 exit status
bash: collect2:: command not found
nvidiatemp@agx0:~/tkdnn/docker$ [96/149] Linking CXX executable test_shelfnet_mapillary
bash: [96/149]: No such file or directory
recated-declarations -Wno-unused-variable  -DOPENCnvidiatemp@agx0:~/tkdnn/docker$ FAILED: test_shelfnet_mapillary 
bash: FAILED:: command not found
nvidiatemp@agx0:~/tkdnn/docker$ : && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/test_shelfnet_mapillary.dir/tests/shelfnet/shelfnet_mapillary.cpp.o -o test_shelfnet_mapillary -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
mpiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/libc++: error: CMakeFiles/test_shelfnet_mapillary.dir/tests/shelfnet/shelfnet_mapillary.cpp.o: No such file or directory
c++: error: libtkDNN.so: No such file or directory
c++: error: libkernels.so: No such file or directory
c++: error: /usr/local/lib/libopencv_gapi.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_stitching.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_alphamat.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_aruco.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_bgsegm.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_bioinspired.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_ccalib.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudabgsegm.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudastereo.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_dnn_superres.so.4.5.0: No such file or directory
/aarch64-linux-gnu/libnvinfer.so: undefined referec++: error: /usr/local/lib/libopencv_dpm.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_highgui.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_face.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_freetype.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_fuzzy.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_hfs.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_img_hash.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_intensity_transform.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_line_descriptor.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_mcc.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_quality.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_rapid.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_reg.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_rgbd.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_saliency.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_stereo.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_structured_light.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_superres.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudacodec.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_surface_matching.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_tracking.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_datasets.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_plot.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_text.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_dnn.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_videostab.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_videoio.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudaoptflow.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudalegacy.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudawarping.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_optflow.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_xfeatures2d.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_ml.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_shape.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_ximgproc.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_video.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_xobjdetect.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_imgcodecs.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_objdetect.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_calib3d.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_features2d.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_flann.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_xphoto.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_photo.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudaimgproc.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudafilters.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_imgproc.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudaarithm.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_core.so.4.5.0: No such file or directory
c++: error: /usr/local/lib/libopencv_cudev.so.4.5.0: No such file or directory
c++: error: /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2: No such file or directory
nce to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetnvidiatemp@agx0:~/tkdnn/docker$ /usr/bin/ld: warning: libnvdla_com/usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
Tensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: bash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
undefined reference to `NvMediaTensorEglStreamProdnvidiatemp@agx0:~/tkdnn/docker$ /usrference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
so: undefined reference to `NvMediaDlaDataUnregistbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
x-gnu/libnvinfer.so: undefined reference to `NvMedbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
iaTensorEglStreamProducerDestroy'
/usr/lib/aarch64nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.ference to `NvMediaTensorEglStreamProducerDestroy'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
aarch64-linux-gnu/libnvinfer.so: undefined referenbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
ce to `nvdla::destroyNetwork(nvdla::INetwork*)'
/unvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined ference to `nvdla::destroyNetwork(nvdla::INetwork*)'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
bash: syntax error near unexpected token `('
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
/lib/aarch64-linux-gnu/libnvinfer.so: undefined rebash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
u/libnvinfer.so: undefined reference to `NvMediaDlbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
fined reference to `NvMediaEglStreamProducerPostTebash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
undefined reference to `NvMediaDlaGetNumEngines'
/bash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
bnvinfer.so: undefined reference to `NvMediaDlaSetbash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
bash: command substitution: line 1: unexpected EOF while looking for matching `''
bash: command substitution: line 3: syntax error: unexpected end of file
ib/aarch64-linux-gnu/libnvinfer.so: undefined refebash: /usr/lib/aarch64-linux-gnu/libnvinfer.so:: No such file or directory
rence to `NvMediaDlaDataRegister'
/usr/lib/aarch64nvidiatemp@agx0:~/tkdnn/docker$ /usr/lib/aarch64-linux-gnu/libnvinfer.ference to `NvMediaDlaDataRegister'
> /usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
> collect2: error: ld returned 1 exit status
> [97/149] Building CXX object CMakeFiles/test_yolo4tiny_512.dir/tests/darknet/yolo4tiny_512.cpp.o
> [98/149] Building CXX object CMakeFiles/test_imuodom.dir/tests/imuodom/imuodom.cpp.o> [99/149] Building CXX object CMakeFiles/test_yolo4_mmr.dir/tests/darknet/yolo4_mmr.cpp.o
> [100/149] Building CXX object CMakeFiles/test_yolo4_320.dir/tests/darknet/yolo4_320.cpp.o
> ninja: build stopped: subcommand failed.
> The command '/bin/sh -c ninja -j$(nproc)     && ninja install -j$(nproc)' returned a non-zero code: 1

Same tkdnn compiling works smoothly with l4t-base image. Quite annoying, because “in theory” this should work. Can you help with this exact issue? Can you confirm that my tkdnn “devel” version is correct?

Hi @masip85, sorry for the delay - I think you may also need to install the nvidia-l4t-multimedia and nvidia-l4t-core packages. These are the packages that provide the missing libraries from your error log:

$ dpkg-query -S /usr/lib/aarch64-linux-gnu/tegra/libnvmedia.so
nvidia-l4t-multimedia: /usr/lib/aarch64-linux-gnu/tegra/libnvmedia.so
$ dpkg-query -S /usr/lib/aarch64-linux-gnu/tegra/libnvdla_compiler.so
nvidia-l4t-core: /usr/lib/aarch64-linux-gnu/tegra/libnvdla_compiler.so

(you can look these up with dpkg-query -S command)

I have limited experience with installing the JetPack libraries directly into container, so thanks for your patience and understanding.

Step 21/30 : RUN apt-get install -y nvidia-l4t-core nvidia-l4t-multimedia
 ---> Running in 2ecf2ba082c9
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libasound2 libasound2-data libgstreamer-plugins-bad1.0-0 nvidia-l4t-3d-core
  nvidia-l4t-cuda nvidia-l4t-firmware nvidia-l4t-init
  nvidia-l4t-multimedia-utils nvidia-l4t-wayland nvidia-l4t-x11
Suggested packages:
  libasound2-plugins alsa-utils
The following NEW packages will be installed:
  libasound2 libasound2-data libgstreamer-plugins-bad1.0-0 nvidia-l4t-3d-core
  nvidia-l4t-core nvidia-l4t-cuda nvidia-l4t-firmware nvidia-l4t-init
  nvidia-l4t-multimedia nvidia-l4t-multimedia-utils nvidia-l4t-wayland
  nvidia-l4t-x11
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.2 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libasound2-data all 1.1.3-5ubuntu0.6 [38.5 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libasound2 arm64 1.1.3-5ubuntu0.6 [294 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 libgstreamer-plugins-bad1.0-0 arm64 1.14.5-0ubuntu1~18.04.1 [272 kB]
Get:4 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-core arm64 32.4.4-20201016123640 [2717 kB]
Get:5 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-firmware arm64 32.4.4-20201027211332 [1797 kB]
Get:6 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-init arm64 32.4.4-20201027211332 [49.8 kB]
Get:7 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-wayland arm64 32.4.4-20201027211332 [21.2 kB]
Get:8 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-x11 arm64 32.4.4-20201027211332 [4742 B]
Get:9 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-3d-core arm64 32.4.4-20201027211332 [26.6 MB]
Get:10 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-cuda arm64 32.4.4-20201027211332 [3158 kB]
Get:11 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-multimedia-utils arm64 32.4.4-20201027211332 [22.3 kB]
Get:12 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 nvidia-l4t-multimedia arm64 32.4.4-20201027211332 [6211 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 41.2 MB in 14s (2932 kB/s)
Selecting previously unselected package nvidia-l4t-core.
(Reading database ... 63526 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.4.4-20201016123640_arm64.deb ...
/var/lib/dpkg/tmp.ci/preinst: line 40: /proc/device-tree/compatible: No such file or directory
dpkg: error processing archive /var/cache/apt/archives/nvidia-l4t-core_32.4.4-20201016123640_arm64.deb (--unpack):
 new nvidia-l4t-core package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-l4t-core_32.4.4-20201016123640_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The command '/bin/sh -c apt-get install -y nvidia-l4t-core nvidia-l4t-multimedia' returned a non-zero code: 100

Strange… but I found this in this forum:

in short words … :

RUN mkdir -p /opt/nvidia/l4t-packages/ && \
    touch /opt/nvidia/l4t-packages/.nv-l4t-disable-boot-fw-update-in-preinstall && \
    apt-get update && \
    apt-get install -y --no-install-recommends nvidia-l4t-core nvidia-l4t-multimedia

Which WORKED for the building step I was stuck into, but not for this one:

[96/149] Building CXX object CMakeFiles/test_yolo4_320.dir/tests/darknet/yolo4_320.cpp.o
[97/149] Linking CXX executable test_shelfnet_mapillary
FAILED: test_shelfnet_mapillary 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/test_shelfnet_mapillary.dir/tests/shelfnet/shelfnet_mapillary.cpp.o -o test_shelfnet_mapillary -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
collect2: error: ld returned 1 exit status
[98/149] Building CXX object CMakeFiles/test_dla34_cnet3d.dir/tests/centernet/dla34_cnet3d/dla34_cnet3d.cpp.o
[99/149] Building CXX object CMakeFiles/test_rtinference.dir/tests/test_rtinference/rtinference.cpp.o
[100/149] Linking CXX executable demoTracker
FAILED: demoTracker 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/demoTracker.dir/demo/demo/demoTracker.cpp.o -o demoTracker -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvll.so, needed by //usr/lib/aarch64-linux-gnu/libdrm.so.2, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDisplay'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipTimestamp'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumHeads'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateDevice'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMapImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHeadLut'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImageGem'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReleaseOverlays'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllVblankSyncptWait'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllPflipSyncptWait'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMoveCursor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetModeDB'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllExportDmaBuf'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHdrSupported'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllImportDmaBuf'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllIsDisplayConnected'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDevice'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumWindows'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHead'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllUnmapImage'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetCursor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReadVblankSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetConnectorType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHeadLut'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetEncoderType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyImage'
collect2: error: ld returned 1 exit status
[101/149] Linking CXX executable seg_demo
FAILED: seg_demo 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/seg_demo.dir/demo/demo/seg_demo.cpp.o -o seg_demo -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvll.so, needed by //usr/lib/aarch64-linux-gnu/libdrm.so.2, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDisplay'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipTimestamp'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumHeads'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateDevice'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMapImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHeadLut'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImageGem'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReleaseOverlays'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllVblankSyncptWait'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllPflipSyncptWait'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMoveCursor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetModeDB'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllExportDmaBuf'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHdrSupported'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllImportDmaBuf'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllIsDisplayConnected'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDevice'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumWindows'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHead'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllUnmapImage'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetCursor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReadVblankSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetConnectorType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHeadLut'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetEncoderType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyImage'
collect2: error: ld returned 1 exit status
[102/149] Linking CXX executable demo
FAILED: demo 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/demo.dir/demo/demo/demo.cpp.o -o demo -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib:  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvll.so, needed by //usr/lib/aarch64-linux-gnu/libdrm.so.2, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDisplay'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipTimestamp'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumHeads'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateDevice'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMapImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHeadLut'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImageGem'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReleaseOverlays'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllVblankSyncptWait'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllPflipSyncptWait'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllMoveCursor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetModeDB'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllExportDmaBuf'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetHdrSupported'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllImportDmaBuf'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllIsDisplayConnected'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyDevice'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetMode'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllCreateImage'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetNumWindows'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHead'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllUnmapImage'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetCursor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllReadVblankSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetConnectorType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetFlipSyncpt'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllSetHeadLut'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllGetEncoderType'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
//usr/lib/aarch64-linux-gnu/libdrm.so.2: undefined reference to `nvllDestroyImage'
collect2: error: ld returned 1 exit status
[103/149] Linking CXX executable test_shelfnet
FAILED: test_shelfnet 
: && /usr/bin/c++ -std=c++11 -fPIC -Wno-deprecated-declarations -Wno-unused-variable  -DOPENCV  CMakeFiles/test_shelfnet.dir/tests/shelfnet/shelfnet.cpp.o -o test_shelfnet -L/usr/local/cuda/lib64 -Wl,-rpath,/usr/local/cuda/lib64:/usr/local/src/tkdnn_build:/usr/local/lib  libtkDNN.so  libkernels.so  /usr/local/cuda/lib64/libcudadevrt.a  /usr/local/cuda/lib64/libcudart_static.a  -lpthread  -ldl  /usr/lib/aarch64-linux-gnu/librt.so  /usr/lib/aarch64-linux-gnu/libcublas.so  /usr/lib/aarch64-linux-gnu/libcudnn.so  /usr/lib/aarch64-linux-gnu/libnvinfer.so  /usr/local/lib/libopencv_gapi.so.4.5.0  /usr/local/lib/libopencv_stitching.so.4.5.0  /usr/local/lib/libopencv_alphamat.so.4.5.0  /usr/local/lib/libopencv_aruco.so.4.5.0  /usr/local/lib/libopencv_bgsegm.so.4.5.0  /usr/local/lib/libopencv_bioinspired.so.4.5.0  /usr/local/lib/libopencv_ccalib.so.4.5.0  /usr/local/lib/libopencv_cudabgsegm.so.4.5.0  /usr/local/lib/libopencv_cudafeatures2d.so.4.5.0  /usr/local/lib/libopencv_cudaobjdetect.so.4.5.0  /usr/local/lib/libopencv_cudastereo.so.4.5.0  /usr/local/lib/libopencv_dnn_objdetect.so.4.5.0  /usr/local/lib/libopencv_dnn_superres.so.4.5.0  /usr/local/lib/libopencv_dpm.so.4.5.0  /usr/local/lib/libopencv_highgui.so.4.5.0  /usr/local/lib/libopencv_face.so.4.5.0  /usr/local/lib/libopencv_freetype.so.4.5.0  /usr/local/lib/libopencv_fuzzy.so.4.5.0  /usr/local/lib/libopencv_hfs.so.4.5.0  /usr/local/lib/libopencv_img_hash.so.4.5.0  /usr/local/lib/libopencv_intensity_transform.so.4.5.0  /usr/local/lib/libopencv_line_descriptor.so.4.5.0  /usr/local/lib/libopencv_mcc.so.4.5.0  /usr/local/lib/libopencv_quality.so.4.5.0  /usr/local/lib/libopencv_rapid.so.4.5.0  /usr/local/lib/libopencv_reg.so.4.5.0  /usr/local/lib/libopencv_rgbd.so.4.5.0  /usr/local/lib/libopencv_saliency.so.4.5.0  /usr/local/lib/libopencv_stereo.so.4.5.0  /usr/local/lib/libopencv_structured_light.so.4.5.0  /usr/local/lib/libopencv_phase_unwrapping.so.4.5.0  /usr/local/lib/libopencv_superres.so.4.5.0  /usr/local/lib/libopencv_cudacodec.so.4.5.0  /usr/local/lib/libopencv_surface_matching.so.4.5.0  /usr/local/lib/libopencv_tracking.so.4.5.0  /usr/local/lib/libopencv_datasets.so.4.5.0  /usr/local/lib/libopencv_plot.so.4.5.0  /usr/local/lib/libopencv_text.so.4.5.0  /usr/local/lib/libopencv_dnn.so.4.5.0  /usr/local/lib/libopencv_videostab.so.4.5.0  /usr/local/lib/libopencv_videoio.so.4.5.0  /usr/local/lib/libopencv_cudaoptflow.so.4.5.0  /usr/local/lib/libopencv_cudalegacy.so.4.5.0  /usr/local/lib/libopencv_cudawarping.so.4.5.0  /usr/local/lib/libopencv_optflow.so.4.5.0  /usr/local/lib/libopencv_xfeatures2d.so.4.5.0  /usr/local/lib/libopencv_ml.so.4.5.0  /usr/local/lib/libopencv_shape.so.4.5.0  /usr/local/lib/libopencv_ximgproc.so.4.5.0  /usr/local/lib/libopencv_video.so.4.5.0  /usr/local/lib/libopencv_xobjdetect.so.4.5.0  /usr/local/lib/libopencv_imgcodecs.so.4.5.0  /usr/local/lib/libopencv_objdetect.so.4.5.0  /usr/local/lib/libopencv_calib3d.so.4.5.0  /usr/local/lib/libopencv_features2d.so.4.5.0  /usr/local/lib/libopencv_flann.so.4.5.0  /usr/local/lib/libopencv_xphoto.so.4.5.0  /usr/local/lib/libopencv_photo.so.4.5.0  /usr/local/lib/libopencv_cudaimgproc.so.4.5.0  /usr/local/lib/libopencv_cudafilters.so.4.5.0  /usr/local/lib/libopencv_imgproc.so.4.5.0  /usr/local/lib/libopencv_cudaarithm.so.4.5.0  /usr/local/lib/libopencv_core.so.4.5.0  /usr/local/lib/libopencv_cudev.so.4.5.0  /usr/lib/aarch64-linux-gnu/libyaml-cpp.so.0.5.2 && :
/usr/bin/ld: warning: libnvdla_compiler.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmedia.so, needed by /usr/lib/aarch64-linux-gnu/libnvinfer.so, not found (try using -rpath or -rpath-link)
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadableCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyWisdom(nvdla::IWisdom*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetMaxOutstandingTasks'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetInputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerAcquireMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerGetTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataUnregister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamConsumerCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetOutputTensorDescriptor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::destroyNetwork(nvdla::INetwork*)'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createWisdom()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorLock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaInit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `nvdla::createNetwork()'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerAcquireTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSubmit'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaLoadLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamConsumerReleaseTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaEglStreamProducerPostTensor'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaAppendLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorEglStreamProducerPostMetaData'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaGetNumEngines'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDestroy'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDeviceCreate'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaSetCurrentLoadable'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorUnlock'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorGetStatus'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaDlaDataRegister'
/usr/lib/aarch64-linux-gnu/libnvinfer.so: undefined reference to `NvMediaTensorDestroy'
collect2: error: ld returned 1 exit status
[104/149] Building CXX object CMakeFiles/test_yolo4tiny.dir/tests/darknet/yolo4tiny.cpp.o
ninja: build stopped: subcommand failed.
The command '/bin/sh -c ninja -j$(nproc)     && ninja install -j$(nproc)' returned a non-zero code: 1

It looks like is complaining about the same, but not at the same step…

By the way,even installing:

    apt-get install -y --no-install-recommends nvidia-l4t-core nvidia-l4t-multimedia nvidia-l4t-firmware \
    nvidia-l4t-multimedia-utils \
    nvidia-l4t-multimedia \
    nvidia-l4t-cuda 

I get:

root@dac7cca07218:/usr/local/src/opencv_build# ldd /usr/lib/aarch64-linux-gnu/libnvinfer.so.7
        linux-vdso.so.1 (0x0000007fa217f000)
        libcublas.so.10 => /usr/lib/aarch64-linux-gnu/libcublas.so.10 (0x0000007f90015000)
        libcudart.so.10.2 => /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudart.so.10.2 (0x0000007f8ff93000)
        libcudnn.so.8 => /usr/lib/aarch64-linux-gnu/libcudnn.so.8 (0x0000007f8ff55000)
        libmyelin.so.1 => /usr/lib/aarch64-linux-gnu/libmyelin.so.1 (0x0000007f8fac7000)
        libnvrtc.so.10.2 => /usr/local/cuda-10.2/targets/aarch64-linux/lib/libnvrtc.so.10.2 (0x0000007f8e696000)
        libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f8e681000)
        libnvdla_compiler.so => not found
        libnvmedia.so => not found
        libEGL.so.1 => /usr/lib/aarch64-linux-gnu/libEGL.so.1 (0x0000007f8e660000)
        libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f8e4cc000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f8e413000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8e3ef000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8e296000)
        /lib/ld-linux-aarch64.so.1 (0x0000007fa2153000)
        libcublasLt.so.10 => /usr/lib/aarch64-linux-gnu/libcublasLt.so.10 (0x0000007f8c2d0000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f8c2a4000)
        librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f8c28d000)
        libGLdispatch.so.0 => /usr/lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000007f8c161000)

Can you check that these libraries exist inside your container after you installed the nvidia-l4t-core nvidia-l4t-multimedia packages?

If not, maybe you need to manually copy them into your container using a COPY command in your Dockerfile (perhaps the entire /usr/lib/aarch64-linux-gnu/tegra/ directory)

To be fair I’m unsure if going down this path is worthwhile or will just encounter more issues, so you may want to consider just using l4t-base container for devel and l4t-tensorrt container for deployment if you can.

Yes, they are.

Why did I get a not found?

root@dac7cca07218:/usr/local/src/opencv_build# ldd /usr/lib/aarch64-linux-gnu/libnvinfer.so.7
        linux-vdso.so.1 (0x0000007fa217f000)
        libcublas.so.10 => /usr/lib/aarch64-linux-gnu/libcublas.so.10 (0x0000007f90015000)
        libcudart.so.10.2 => /usr/local/cuda-10.2/targets/aarch64-linux/lib/libcudart.so.10.2 (0x0000007f8ff93000)
        libcudnn.so.8 => /usr/lib/aarch64-linux-gnu/libcudnn.so.8 (0x0000007f8ff55000)
        libmyelin.so.1 => /usr/lib/aarch64-linux-gnu/libmyelin.so.1 (0x0000007f8fac7000)
        libnvrtc.so.10.2 => /usr/local/cuda-10.2/targets/aarch64-linux/lib/libnvrtc.so.10.2 (0x0000007f8e696000)
        libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f8e681000)
        libnvdla_compiler.so => not found
        libnvmedia.so => not found
        libEGL.so.1 => /usr/lib/aarch64-linux-gnu/libEGL.so.1 (0x0000007f8e660000)
        libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f8e4cc000)
        libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f8e413000)
        libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8e3ef000)
        libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8e296000)
        /lib/ld-linux-aarch64.so.1 (0x0000007fa2153000)
        libcublasLt.so.10 => /usr/lib/aarch64-linux-gnu/libcublasLt.so.10 (0x0000007f8c2d0000)
        libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f8c2a4000)
        librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f8c28d000)
        libGLdispatch.so.0 => /usr/lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000007f8c161000)

If I got to develop using a big copy… am I really containerizing anything? I need every version of jetpack installed for creating the containers. I don’t think that is a docker approach.I guess someone at nvidia would know how to fix this and help me.

Well, I’ve said in other post, why don’t you upload more versions? I am doing this task because of ngc lack of versions.

We are planning to add more versions in the future, but currently the idea with those is using multi-stage build to build your application in a dev container from l4t-base (i.e. with dev files mounted in) and then use a container like l4t-tensorrt as the runtime container with your app binaries.

Yes,but as I’ve said, that is not a possibility nowadays, because there is no one unique jetpack,or unique tensorRT. “In the future” means,will not arrive in time and manner.

But,could you give me an answer,why those libraries are marked as “not found”. Can anyone help me to solve the problem? As you’ve said,in theory,this is possible. So,why not solving this?

El El vie, 19 nov 2021 a las 22:50, dusty_nv via NVIDIA Developer Forums <nvidia@discoursemail.com> escribió:

The screenshot you showed here appears to be taken from outside of docker, not inside the container - is that correct?

If you don’t have /usr/lib/aarch64-linux-gnu/tegra inside the container, I would recommend mounting it from the host to check that it works. Then you can track down the packages for installing it.

Regardless this isn’t currently the officially supported way of building containers on Jetson right now, so our ability to support it is limited - sorry about that. As I’ve said, I currently recommend using l4t-base to build your application (which I believe you’ve mentioned works for building tkdnn project). In the next major release of JetPack there are planned to be updates that make the containers on Jetson more consistent with how they are built on x86.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.