Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Tommy Murphy
> Could it be that my Ubuntu version is the culprit (I'm using > Ubuntu 20.04.1 LTS). Although this shouldn't matter, because > eventually the build happens in Docker... I don't think so. I just did a build of the linux 64 bit openocd on Ubuntu 20.04.1 and it went fine and ldd -v doesn't show any

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread kristof . mulier
Hi @Liviu Ionescu and @Tommy Murphy, Sorry for my late reply. The way I attempt to execute OpenOCD = In my last e-mail, I told you that I executed OpenOCD after the build without specifying *how* exactly. My apologies for that. So here is what I did: 1. I copi

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Liviu Ionescu
> On 31 Aug 2020, at 15:08, Tommy Murphy wrote: > > ... the xPack project pages with all those pages, it seems that people always find creative ways to mess things up, so my conclusion is that those pages need improvements. I'm open to any suggestions. Kristof? what is wrong with those pa

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Tommy Murphy
> Again my sincere thanks to all of you (Liviu Ionescu, Tommy Murphy, ...) that > are > helping people like me to build OpenOCD for Windows/Linux/Mac. > > Kind regards, > Kristof Mulier Thanks but I am really just restating what Liviu already says on the xPack project pages so not actually addin

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Liviu Ionescu
> On 31 Aug 2020, at 14:47, Tommy Murphy wrote: > > user@cockatoo:~/Downloads/xpack-openocd-0.10.0-14/bin$ ldd openocd > linux-vdso.so.1 (0x7ffd1695f000) > libusb-0.1.so.4 => > /home/user/Downloads/xpack-openocd-0.10.0-14/bin/./libusb-0.1.so.4 > (0x7f21f828a000) > libftdi1.so.2 => >

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Tommy Murphy
I just did a full rebuild of everything from the upstream openocd repo/HEAD (i.e. last three lines of defs-source.sh uncommented). The build went fine as usual. I then did this: user@cockatoo:~$ cd ~/Downloads user@cockatoo:~/Downloads$ tar -xzvf ~/Work/openocd-0.10.0-14/deploy/xpack-openocd-0.1

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread Liviu Ionescu
> On 31 Aug 2020, at 13:43, kristof.mul...@telenet.be 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

Re: [OpenOCD-devel] Missing libusb shared object file in xPack build.

2020-08-31 Thread kristof . mulier
Hi @Tommy Murphy, I just did a clean build, following the exact steps you mentioned. Please note that just before starting the build, I uncomment the last three lines in ~ /Downloads/ openocd-xpack.git/scripts/defs-source.sh to make sure that I'm building the most recent master branch. So t