# How to find TRT\_LIB\_DIR?

**URL:** <https://forums.developer.nvidia.com/t/how-to-find-trt-lib-dir/145316>\
**Category:** Jetson Xavier NX\
**Tags:** tensorrt\
**Created:** [August 4, 2020, 9:35am UTC](https://forums.developer.nvidia.com/t/how-to-find-trt-lib-dir/145316 "2020-08-04T09:35:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yjkim2](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yjkim2](https://forums.developer.nvidia.com/u/yjkim2)\
**Post date:** [August 4, 2020, 9:35am UTC](https://forums.developer.nvidia.com/t/how-to-find-trt-lib-dir/145316/1 "2020-08-04T09:35:30Z")

</div>

Hi, I am using jetson xavier.  
I am trying to build ‘/usr/src/tensorrt/samples/trtexec’ but I faced the following error message.

```auto
nvidia@xavier:/usr/src/tensorrt/samples/trtexec$ make
../Makefile.config:28: TRT_LIB_DIR is not specified, searching ../lib, ../../lib, ../lib by default, use TRT_LIB_DIR=<trt_lib_directory> to change.
make: Nothing to be done for 'all'.

```

However, I can’t find the location of TensorRT Library directory.

How can I find it?

Any help would be appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [August 5, 2020, 3:10am UTC](https://forums.developer.nvidia.com/t/how-to-find-trt-lib-dir/145316/3 "2020-08-05T03:10:29Z")

</div>

Hi,

The log indicates that the binary is up-to-date rather than a library missing issue _(default path is good)_.

```auto
make: Nothing to be done for 'all'.

```

If you want to rebuild the binary, please clean it first.

```auto
$ make clean
$ make

```

Thanks.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 18, 2021, 6:43pm UTC](https://forums.developer.nvidia.com/t/how-to-find-trt-lib-dir/145316/5 "2021-10-18T18:43:35Z")

</div>


