> On 29 Aug 2020, at 16:30, kristof.mul...@telenet.be wrote:
> 
>   $ ls -l
>       total 4816
>       -rwxrwx--- 1 root vboxsf   73232 Aug 29 14:14 libftdi1.so.2.4.0
>       -rwxrwx--- 1 root vboxsf   22840 Aug 29 14:14 libhidapi-hidraw.so.0.0.0
>       -rwxrwx--- 1 root vboxsf  992288 Aug 29 14:14 libiconv.so.2.6.0
>       -rwxrwx--- 1 root vboxsf   57848 Aug 29 14:14 libudev.so
>       -rwxrwx--- 1 root vboxsf   22808 Aug 29 14:14 libusb-0.1.so.4.4.4
>       -rwxrwx--- 1 root vboxsf  111464 Aug 29 14:14 libusb-1.0.so.0.1.0
>       -rwxrwx--- 1 root vboxsf 3634432 Aug 29 14:14 openocd
> 
> So there is a shared object file 'libusb-0.1.so.4.4.4', but it seems like
> OpenOCD is looking for 'libusb-0.1.so.4'. Why?

Most probably because you have a broken build. You changed something in the 
build scripts that should not be changed. The original binaries were tested on 
multiple distributions/platforms, including Ubuntu 20, and all were ok:

        
https://travis-ci.org/github/xpack-dev-tools/openocd-xpack/builds/702320342

To check file's dependencies, use 'ldd -v <file>'.

But mainly fix the build script. 

Or use the provided binaries, they just work; the reason for the xPack 
distribution to exist is exactly to avoid issues like this.


Regards,

Liviu





_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to