# \[Help\] Undefined Symbol Error in NVArgus Library on JetPack 6.1 with SDK 4.2 and ZED M Camera

**URL:** <https://community.stereolabs.com/t/help-undefined-symbol-error-in-nvargus-library-on-jetpack-6-1-with-sdk-4-2-and-zed-m-camera/8263>\
**Category:** Python\
**Tags:** linux, python, sdk, jetson\
**Created:** [March 5, 2025, 11:28am UTC](https://community.stereolabs.com/t/help-undefined-symbol-error-in-nvargus-library-on-jetpack-6-1-with-sdk-4-2-and-zed-m-camera/8263 "2025-03-05T11:28:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NasserAlqeifi](https://community.stereolabs.com/user_avatar/community.stereolabs.com/nasseralqeifi/32/3590_2.png) [@NasserAlqeifi](https://community.stereolabs.com/u/NasserAlqeifi)\
**Post date:** [March 5, 2025, 11:28am UTC](https://community.stereolabs.com/t/help-undefined-symbol-error-in-nvargus-library-on-jetpack-6-1-with-sdk-4-2-and-zed-m-camera/8263/1 "2025-03-05T11:28:10Z")

</div>

Hi everyone,

I’m encountering an issue when running a Python script that uses the ZED SDK (version 4.2) with a ZED M camera on a Jetson device running JetPack 6.1.

When I execute my script , I get the following error:

```auto
Traceback (most recent call last):
  File "/path/to/script.py", line 13, in <module>
    import pyzed.sl as sl
ImportError: /usr/lib/aarch64-linux-gnu/nvidia/libnvargus_socketclient.so: undefined symbol: jpeg_set_hardware_acceleration_parameters_enc

```

**Environment Details:**

- **ZED SDK:** 4.2
- **JetPack:** 6.1
- **Camera:** ZED M

**What I’ve Tried:**

- Verified that **libjpeg-turbo8** (version 2.1.2-0ubuntu1) is installed.
- Checked that the symbol is missing in the installed libjpeg library:

```auto
nm -D /usr/lib/aarch64-linux-gnu/libjpeg.so.8 | grep jpeg_set_hardware_acceleration_parameters_enc

```

(No output was found.)

- Reinstalled libjpeg-turbo8 and set the `LD_LIBRARY_PATH` to include `/usr/lib/aarch64-linux-gnu`.

It appears that the NVArgus library (used by the ZED SDK) is looking for a JPEG symbol that isn’t exported by the current version of libjpeg-turbo installed on my system. Has anyone experienced a similar issue or have any suggestions on how to resolve it?

Any help or pointers regarding version compatibility or potential workarounds would be greatly appreciated!

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [March 10, 2025, 1:13pm UTC](https://community.stereolabs.com/t/help-undefined-symbol-error-in-nvargus-library-on-jetpack-6-1-with-sdk-4-2-and-zed-m-camera/8263/2 "2025-03-10T13:13:03Z")

</div>

Hi @NasserAlqeifi,

Can you run the ZED\_Diagnostic tool and send the resulting JSON file so that we can validate your software configuration?

---

<div class="post-metadata">

**Author:** ![Terrensou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/terrensou/32/5943_2.png) [@Terrensou](https://community.stereolabs.com/u/Terrensou)\
**Post date:** [March 11, 2026, 8:22am UTC](https://community.stereolabs.com/t/help-undefined-symbol-error-in-nvargus-library-on-jetpack-6-1-with-sdk-4-2-and-zed-m-camera/8263/3 "2026-03-11T08:22:12Z")

</div>

For your reference, I had the same issue when the python environment install CUDA package through Conda.

I would suggest only install the cupy-cuda through pip. Nothing else.

```auto
pip install cupy-cuda12x

```
