Re: [sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Kiril Dimitrov
This is the line I used to rename the default libusb in /usr/local/lib Just for clarification, I copied the wrong line in the previous mail. $ sudo mv /usr/local/lib/libusb-1.0.so.0 /usr/local/lib/libusb-1.0.so.0-temp ___ sigrok-devel mailing list

Re: [sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Kiril Dimitrov
So finally, I removed the libusb in /usr/local/lib and now libsigrok is refering to /lib/x86_64-linux-gnu/libusb-1.0.so.0 and it all works: I built the sigrok-cli and can start the AppImage. Paul, thank you for your help! $ sudo mv /usr/lib/libusb-1.0.so.0-temp /usr/lib/libusb-1.0.so.0 $ ldd

Re: [sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Kiril Dimitrov
Ok, I followed your leads. There are several libusb-1.0.so.0 files on my system. The sigrok is refering to the one located in /usr/local/lib and it is missing the symbols after checking with *nm*. There is another one in* /lib/x86_64-linux-gnu/libusb-1.0.so.0 *and it contains the required symbols.

Re: [sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Paul Fertser
On Sun, Jul 21, 2019 at 10:33:52AM +0300, Kiril Dimitrov wrote: > ./sigrok-cli-0.7.1-x86_64.AppImage > sigrok-cli: symbol lookup error: > /tmp/.mount_sigrokLM29y6/usr/lib/libsigrok.so.4: undefined symbol: > libusb_get_version "ldd ./sigrok-cli-0.7.1-x86_64.AppImage" might give additional clues

Re: [sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Paul Fertser
Hi, On Sun, Jul 21, 2019 at 10:33:52AM +0300, Kiril Dimitrov wrote: > ~/temp/sigrok-cli$ make > make all-am > CCLD sigrok-cli > /usr/local/lib/libsigrok.so: undefined reference to `libusb_free_pollfds' My guess would be that you have an outdated libusb version installed in /usr/local/lib

[sigrok-devel] sigrok-cli-0.7.1 and PulseView-0.4.1 AppImage do not start because of undefined symbol: libusb_get_version Ask Question

2019-07-21 Thread Kiril Dimitrov
I am trying to start *PulseView* and *sigrok* AppImages. Unfortunately, I am getting an error message and I cannot figure out how to fix it: ./sigrok-cli-0.7.1-x86_64.AppImage sigrok-cli: symbol lookup error: /tmp/.mount_sigrokLM29y6/usr/lib/libsigrok.so.4: undefined symbol: libusb_get_version