First, thanks for your work, your flake has been very useful.
While trying to use openocd with the latest version (ESP-IDF v5.4.0) I get this error :
/nix/store/zaca5372h4hv5wfa0kvr8ldhzahgrz22-openocd-esp32-esp-idf-v5.4/openocd-esp32/bin/openocd: error while loading shared libraries: libusb-1.0.so.0: cannot open shared object file: No such file or directory
It is the same error as #30 but it seems that the fix worked for him.
ldd /nix/store/hc5c2hlzqa2mm5b5zqxw6isq6vpkza8j-openocd-esp32-esp-idf-v5.4/openocd-esp32/bin/openocd
linux-vdso.so.1 (0x00007ffff7fc4000)
libudev.so.1 => not found
libusb-1.0.so.0 => not found
libm.so.6 => /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib/libm.so.6 (0x00007ffff7ed7000)
libz.so.1 => not found
libutil.so.1 => /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib/libutil.so.1 (0x00007ffff7ed2000)
libdl.so.2 => /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib/libdl.so.2 (0x00007ffff7ecb000)
libc.so.6 => /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib/libc.so.6 (0x00007ffff7cd2000)
/lib64/ld-linux-x86-64.so.2 => /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib64/ld-linux-x86-64.so.2 (0x00007ffff7fc6000)
Am I doing something wrong? Am I using the correct path for openocd?
First, thanks for your work, your flake has been very useful.
While trying to use openocd with the latest version (
ESP-IDF v5.4.0) I get this error :It is the same error as #30 but it seems that the fix worked for him.
Am I doing something wrong? Am I using the correct path for openocd?