From: Liviu I. <il...@li...> - 2020-08-31 10:57:47
|
> On 31 Aug 2020, at 13:43, kri...@te... wrote: > > First I navigate to the > folder where the OpenOCD executable is since none of the libraries are found by ldd, you're probably not navigating to the correct folder. it should be 'Work/openocd-0.10.0-14/linux-x64/install/openocd/bin/openocd'. anyway, to be sure, unpack the resulting distribution .tar.gz and use that binary. the trick with the xPack binaries is that they are adjusted to use DT_RPATH $ORIGIN, which means they look for the shared libraries in the same folder where the executable is. this makes them standalone, which means two things: they do not depend on the system libraries, which may have different versions or do not be installed at all, and they can be executed from any folder. regards, Liviu |