libusb error during SDK install and then when running tools (ZED_Explorer etc.)

On an NVIDIA Orin Jetpack 6.0 (CUDA version 12.2, cuDNN version 8.9) and ROS 2 Humble, during installation of ZED SDK version 4.1.4 (https://download.stereolabs.com/zedsdk/4.1/l4t36.3/jetsons) I got this error:
The following packages have unmet dependencies:
libusb-1.0-0-dev : Depends: libusb-1.0-0 (= 2:1.0.25-1ubuntu1) but 2:1.0.25-1ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

I don’t think that was true.

I ‘fixed’ it with: sudo apt install libusb-1.0-0=2:1.0.25-1ubuntu1 libusb-1.0-0-dev and the installation succeeded. But when I use any tools they crash out as soon as a ZED2i camera starts to load. An original ZED camera can be viewed in explorer, but crashes out if recording an SVO is started. The error with the ZED2i camera I want to use looks like this:
#2 Object “./ZED_Explorer”, at 0x6b6b7f, in
#1 Object “/usr/lib/aarch64-linux-gnu/libusb-1.0.so.0”, at 0xffff87c0a0c7, in libusb_get_device_list
#0 Object “/usr/lib/aarch64-linux-gnu/libc.so.6”, at 0xffff86be0600, in pthread_mutex_lock
Segmentation fault (Address not mapped to object [0x38])
Segmentation fault

Help appreciated!

Hi @onthesofa
Welcome to the Stereolabs community.

I recommend you use the latest SDK v4.2.5

Libusb is used to read sensor data. The “original” ZED has no internal sensors.

This to install sudo apt install libusb-dev

Thanks for the reply.

Selecting previously unselected package libusb-0.1-4:arm64.
(Reading database … 253204 files and directories currently installed.)
Preparing to unpack …/libusb-0.1-4_2%3a0.1.12-32build3_arm64.deb …
Unpacking libusb-0.1-4:arm64 (2:0.1.12-32build3) …
Selecting previously unselected package libusb-dev.
Preparing to unpack …/libusb-dev_2%3a0.1.12-32build3_arm64.deb …
Unpacking libusb-dev (2:0.1.12-32build3) …
Setting up libusb-0.1-4:arm64 (2:0.1.12-32build3) …
Setting up libusb-dev (2:0.1.12-32build3) …
Processing triggers for libc-bin (2.35-0ubuntu3.9) …
Processing triggers for man-db (2.10.2-1) …
nvidia@tegra-ubuntu:/usr/local/zed/tools$ ./ZED_Explorer
** [SVO] Hardware compression (NVENC) available **
Stack trace (most recent call last) in thread 30850:
#11 Object “[0xffffffffffffffff]”, at 0xffffffffffffffff, in
#10 Object “/usr/lib/aarch64-linux-gnu/libc.so.6”, at 0xffff90cc5edb, in
#9 Object “/usr/lib/aarch64-linux-gnu/libc.so.6”, at 0xffff90c5d5b7, in
#8 Object “/usr/lib/aarch64-linux-gnu/libQt5Core.so.5”, at 0xffff911422db, in
#7 Object “./ZED_Explorer”, at 0x45b483, in
#6 Object “./ZED_Explorer”, at 0x58dfaf, in
#5 Object “./ZED_Explorer”, at 0x589d7b, in
#4 Object “./ZED_Explorer”, at 0x53462b, in
#3 Object “./ZED_Explorer”, at 0x6bc7f7, in
#2 Object “./ZED_Explorer”, at 0x6b6b7f, in
#1 Object “/usr/lib/aarch64-linux-gnu/libusb-1.0.so.0”, at 0xffff91c8a0c7, in libusb_get_device_list
#0 Object “/usr/lib/aarch64-linux-gnu/libc.so.6”, at 0xffff90c60600, in pthread_mutex_lock
Segmentation fault (Address not mapped to object [0x38])
Segmentation fault

Update to SDK 4.2.5

Downloading https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/4.2/ZED_SDK_Tegra_L4T36.3_v4.2.5.zstd.run
Installing ZED SDK…
Verifying archive integrity… 100% MD5 checksums are OK. All good.
Uncompressing ‘ZED camera SDK by Stereolabs (Use ‘sudo apt install zstd’ if zstd is not found)’ 100%
WARNING: unknown parameter “skip_hub” (ignored)
USAGE:
-h --help
–silent
–runtime_only
–skip_tools
–skip_cuda
–skip_od_module
–skip_python
–skip_drivers

L4T version 36.3 detected. OK
Installation path: /usr/local/zed
Checking CUDA version…
OK: Found CUDA 12.2

ZED SDK installation complete !

Unfortunately I still have exactly the same error.

Can you try to reinstall the ZED SDK?

Hi Myzhar. I just did. That’s what my last message showed.

It seems that only a full reflash of the Jetson can solve this problem by resetting the status of all the installed packages