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

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:

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:
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.

Hi @NasserAlqeifi,

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