# TensorRT: Could not open leanRuntime: GLIBC\_2.34 not found

**URL:** <https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766>\
**Category:** DRIVE AGX Orin General\
**Tags:** driveos-cuda\
**Created:** [November 18, 2024, 7:52pm UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766 "2024-11-18T19:52:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleg.polonsky](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@oleg.polonsky](https://forums.developer.nvidia.com/u/oleg.polonsky)\
**Post date:** [November 18, 2024, 7:52pm UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766/1 "2024-11-18T19:52:59Z")

</div>

Please provide the following info (tick the boxes after creating this topic):  
**Software Version**  
[√] DRIVE OS 6.0.10.0  
 DRIVE OS 6.0.8.1  
 DRIVE OS 6.0.6  
 DRIVE OS 6.0.5  
 DRIVE OS 6.0.4 (rev. 1)  
 DRIVE OS 6.0.4 SDK  
 other

**Target Operating System**  
[√] Linux  
 QNX  
 other

**Hardware Platform**  
 DRIVE AGX Orin Developer Kit (940-63710-0010-300)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-200)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-100)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-D00)  
 DRIVE AGX Orin Developer Kit (940-63710-0010-C00)  
[√] DRIVE AGX Orin Developer Kit (not sure its number)  
 other

**SDK Manager Version**  
[√] 2.1.0  
 other

**Host Machine Version**  
 native Ubuntu Linux 20.04 Host installed with SDK Manager  
[√] native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers  
 native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers  
 other

**Issue Description**  
We use TensorRT [version compatibility](https://docs.nvidia.com/deeplearning/tensorrt/developer-guide/index.html#version-compat) feature to be able to use engines serialized across ORIN boards with different TRT patch versions. We’ve got a number of ORIN kits with TRT **8.6.2** and **8.6.13** , and we use the following steps to validate version compatibility between different boards, using `/usr/src/tensorrt/data/resnet50/ResNet50.onnx` natively shipped with TRT.

On one board we run:  
`/usr/src/tensorrt/bin/trtexec --onnx=ResNet50.onnx --saveEngine=ResNet50.bin --versionCompatible --nativeInstanceNorm`

Then on another board we try loading the serialized engine with:  
`/usr/src/tensorrt/bin/trtexec --loadEngine=ResNet50.bin --versionCompatible`

This works well when serializing on TRT **8.6.13** then loading with TRT **8.6.2** , however when we try the other way around (serializing on TRT **8.6.2** then attempting to load with TRT **8.6.13** ), we get an error message `Could not open leanRuntime: GLIBC_2.34 not found`. Please advise if there’s any work-around that would allow using an engine serialized with TRT **8.6.2** on TRT **8.6.13**.

**Error String**  
`[E] Error[6]: [libLoader.cpp::Impl::307] Error Code 6: Internal Error (Could not open leanRuntime from file /tmp/leanRuntime8d99b0377b1e6e7b: /usr/lib/aarch64-linux-gnu/libc.so.6: version 'GLIBC_2.34' not found (required by /tmp/leanRuntime8d99b0377b1e6e7b))`

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [November 19, 2024, 6:52am UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766/3 "2024-11-19T06:52:53Z")

</div>

Dear @oleg.polonsky ,  
Did you generate the TRT models on Drive Devkit. May I know the used DRIVE OS version to generate TRT engine?

---

<div class="post-metadata">

**Author:** ![oleg.polonsky](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@oleg.polonsky](https://forums.developer.nvidia.com/u/oleg.polonsky)\
**Post date:** [November 20, 2024, 10:31pm UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766/5 "2024-11-20T22:31:52Z")

</div>

The model was generated on Jetson R36 and failed to load on DRIVE OS 6.0.10; while it works the other way generating on DRIVE OS 6.0.10 (Ubuntu 20.04) then loading on Jetson R36 (Ubuntu 22.04). Is there any way to make it work on DRIVE OS 6.0.10?

---

<div class="post-metadata">

**Author:** ![SivaRamaKrishnaNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/sivaramakrishnanv/32/14043_2.png) [@SivaRamaKrishnaNV](https://forums.developer.nvidia.com/u/SivaRamaKrishnaNV)\
**Post date:** [November 21, 2024, 5:49am UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766/6 "2024-11-21T05:49:39Z")

</div>

Dear @oleg.polonsky ,  
Looks like leap runtime is not fully verified on TRT 8.6. we recommend you to generate model using the same TRT version.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [December 5, 2024, 5:50am UTC](https://forums.developer.nvidia.com/t/tensorrt-could-not-open-leanruntime-glibc-2-34-not-found/313766/7 "2024-12-05T05:50:33Z")

</div>

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