LINRAD and libusb 64 bit

116 views
Skip to first unread message

Marco Cogoni

unread,
Jun 23, 2018, 3:01:27 AM6/23/18
to lin...@googlegroups.com
Hi Leif and everybody,
yesterday I took out of the closet my softrock ensemble II.
I'm under Debian 9 64 bit.
Linrad is 4.14a.
It doesn't load the libusb, no matter what.
I already did a symlink like this:
sudo ln -s /lib/x86_64-linux-gnu/libusb-1.0.so.0 /lib/x86_64-linux-gnu/libusb.so

but I get an "unable to load libusb" error when running linrad.

Any ideas?

thanks,
marco

--
marco cogoni
CRS4
http://sibamanna.duckdns.org

Leif Asbrink

unread,
Jun 23, 2018, 7:26:32 PM6/23/18
to lin...@googlegroups.com
Hello Marco,

maybe you forgot to run configure again?

The configure script generates Makefile. The old
Makefile is unaware of your symlink.

73

Leif
> --
> There is an excellent Linrad User Guide by Gaetan, ON4KHG, at:
> http://www.nitehawk.com/w3sz/Linrad%20Installation%20&%20Configuration%20User%20Guide%20-%20V1-0.pdf
> ---
> You received this message because you are subscribed to the Google Groups "Linrad" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linrad+un...@googlegroups.com.
> To post to this group, send email to lin...@googlegroups.com.
> Visit this group at https://groups.google.com/group/linrad.
> For more options, visit https://groups.google.com/d/optout.

Marco Cogoni

unread,
Jun 24, 2018, 10:34:03 AM6/24/18
to lin...@googlegroups.com
Hi Leif,
I solved the problem by linking to the old
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
I wasn't able to make linrad work with the new libusb-1.0.0...
It just says that the library cannot be loaded cause maybe it's too old.

Is this the supposed thing to do?

Anyway, it just works now :)

73,
marco

Marco Cogoni

unread,
Jun 25, 2018, 10:18:31 AM6/25/18
to lin...@googlegroups.com
Leif,
the message that ./configure --with-help produces is this:

Not present: libusb.so (64bit)
This package is needed only for installing libftdi for soft66.
For the Si570 (Softrock, IQ+, Fifi SDR and others) and USB2LPT
it is obsolete and libusb-1.0 is a replacement.
To install old libusb, use one of these commands:
Debian,Ubuntu: apt-get install libusb-dev
Modern Debian: ln -s /lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
/lib/x86_64-linux-gnu/libusb.so
Old Fedora: yum install libusb-devel
Fedora 22 and later: dnf install libusb-devel
SuSE: zypper install libusb-compat-devel
Mageia: urpmi lib64usb-compat0.1-devel
PCLinuxOS: apt-get install lib64usb-compat0.1-devel
Sabayon: ln -s /lib64/libusb-0.1.so.4 /lib64/libusb.so
Then run ./configure --with-help again.

So apparently libusb-1.0 is not a replacement at least for my Debian version.
Can anyone compile Linrad with the new libusb?

ciao!

ps: I even tried to donwload the latest libusb 1.0 from the source and
compile it, but it's the same.

Andy

unread,
Jun 25, 2018, 12:35:50 PM6/25/18
to lin...@googlegroups.com
Hello Marco,

Here on my PC (Mint 18.3) seems that libusb working OK... I don't tried
to compile but not have errors when  ./configure --with-libusb0-64.

$ ls -la /lib/x86_64-linux-gnu/libusb*
lrwxrwxrwx 1 root root    19 Mar 13 18:06
/lib/x86_64-linux-gnu/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
-rw-r--r-- 1 root root 30944 Jan  9  2016
/lib/x86_64-linux-gnu/libusb-0.1.so.4.4.4
lrwxrwxrwx 1 root root    19 Mar 13 18:06
/lib/x86_64-linux-gnu/libusb-1.0.so.0 -> libusb-1.0.so.0.1.0
-rw-r--r-- 1 root root 97056 Oct 24  2015
/lib/x86_64-linux-gnu/libusb-1.0.so.0.1.0
lrwxrwxrwx 1 root root    37 Jun 25 22:01
/lib/x86_64-linux-gnu/libusb.so -> /lib/x86_64-linux-gnu/libusb-1.0.so.0

libusb-1.0-0 version (Mint): 2:1.0.20-1


73&GL


Andy

Marco Cogoni

unread,
Jun 26, 2018, 3:15:42 AM6/26/18
to lin...@googlegroups.com
Hi Andy,
thanks for the reply.
I was able to make LINRAD work both on Debian 9 and Mint 18.3 with the
Si570 but the only "issue" is that
the configure script says that now libusb-0 is no longer needed except
for soft66 hardware...
At least on my systems I wasn't able, in any case, to use libusb-1.0
to drive the Si570.

73,
marco

Leif Asbrink

unread,
Jun 26, 2018, 8:24:32 PM6/26/18
to lin...@googlegroups.com
Hi Marco,

> At least on my systems I wasn't able, in any case, to use libusb-1.0
> to drive the Si570.
Can you describe in more detail how using libusb-1.0 to drive
the Si570 failed??

73

Leif
Reply all
Reply to author
Forward
0 new messages