# Deepstream-app Makefile problem

**URL:** <https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405>\
**Category:** DeepStream SDK\
**Created:** [March 26, 2021, 5:52am UTC](https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405 "2021-03-26T05:52:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MingGatsby](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/minggatsby/32/84314_2.png) [@MingGatsby](https://forums.developer.nvidia.com/u/MingGatsby)\
**Post date:** [March 26, 2021, 5:52am UTC](https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405/1 "2021-03-26T05:52:13Z")

</div>

Please provide complete information as applicable to your setup.

\*\*• Hardware Platform (Jetson / GPU)\*\*GPU  
**• DeepStream Version** 5.1  
**• TensorRT Version** 7.2.2.3  
\*\*• NVIDIA GPU Driver Version (valid for GPU only)\*\*460.39  
\*\*• Issue Type( questions, new requirements, bugs)\*\*questions  
**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)**

I install deepstream5.1 at my gpu computer.  
About Ubuntu18.04, RTX3090, CUDA11.1, CUDNN8.0.5.  
I use the following command.

cd /opt/nvidia/deepstream/deepstream-5.1/sources/apps/sample\_apps/deepstream-app && sudo CUDA\_VER=11.1 make

Then, appear the error messages.

cc -o deepstream-app deepstream\_app.o deepstream\_app\_main.o deepstream\_app\_config\_parser.o …/…/apps-common/src/deepstream\_tracker\_bin.o …/…/apps-common/src/deepstream\_primary\_gie\_bin.o …/…/apps-common/src/deepstream\_source\_bin.o …/…/apps-common/src/deepstream\_audio\_classifier\_bin.o …/…/apps-common/src/deepstream\_c2d\_msg.o …/…/apps-common/src/deepstream\_config\_file\_parser.o …/…/apps-common/src/deepstream\_common.o …/…/apps-common/src/deepstream\_sink\_bin.o …/…/apps-common/src/deepstream\_perf.o …/…/apps-common/src/deepstream\_dewarper\_bin.o …/…/apps-common/src/deepstream\_dsexample.o …/…/apps-common/src/deepstream\_secondary\_gie\_bin.o …/…/apps-common/src/deepstream\_dsanalytics.o …/…/apps-common/src/deepstream\_tiled\_display\_bin.o …/…/apps-common/src/deepstream\_c2d\_msg\_util.o …/…/apps-common/src/deepstream\_osd\_bin.o …/…/apps-common/src/deepstream\_streammux.o -L/usr/local/cuda-11.1/lib64/ -lcudart -L/opt/nvidia/deepstream/deepstream-5.1/lib/ -lnvdsgst\_meta -lnvds\_meta -lnvdsgst\_helper -lnvdsgst\_smartrecord -lnvds\_utils -lnvds\_msgbroker -lm -lcuda -lgstrtspserver-1.0 -ldl -Wl,-rpath,/opt/nvidia/deepstream/deepstream-5.1/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lX11 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  
/usr/bin/ld: warning: libnvinfer.so.7, needed by /opt/nvidia/deepstream/deepstream-5.1/lib//libnvds\_utils.so, not found (try using -rpath or -rpath-link)  
/opt/nvidia/deepstream/deepstream-5.1/lib//libnvds\_utils.so: 未定義的參考到 getInferLibVersion  
collect2: error: ld returned 1 exit status  
Makefile:70: recipe for target ‘deepstream-app’ failed

---

<div class="post-metadata">

**Author:** ![MingGatsby](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/minggatsby/32/84314_2.png) [@MingGatsby](https://forums.developer.nvidia.com/u/MingGatsby)\
**Post date:** [March 26, 2021, 6:26am UTC](https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405/2 "2021-03-26T06:26:30Z")

</div>

Oops… I first used tar method to install TensorRT. It’s failed about Makefile.

I used another method about using deb to install TensorRt. It’s success about Makefile.

I have solved that.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [March 26, 2021, 6:55am UTC](https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405/3 "2021-03-26T06:55:17Z")

</div>

Glad to know issue resolved, thanks for the update.

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [October 12, 2021, 4:14pm UTC](https://forums.developer.nvidia.com/t/deepstream-app-makefile-problem/173405/4 "2021-10-12T16:14:47Z")

</div>

Closed on October 12, 2021, 4:14pm UTC


