Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been attempting to install Tilp2 on my laptop running Arch Linux. I have the list of dependancies and can get all to install without issues except for 'libticables'. This is my output when I try to install the AUR package.
Code:
../src/.libs/libticables2.so: undefined reference to `usb_debug'
../src/.libs/libticables2.so: undefined reference to `usb_error_type'
../src/.libs/libticables2.so: undefined reference to `usb_error_str'
There are a few Google results that turn up multiple people with the same issues, with no solutions. The few that do have solutions are outdated and filled with broken links. I was wondering if anyone has Tilp2 working currently, have installed it recently, or have a current fix for my problem. Any help would be greatly appreciated.
im not really sure i understand your post. do you think my libusb is too new and i should downgrade? or will the deb pacakge you linked take care of my problem. either way, installing a deb package on arch can be annyoing, so do you know where i can download the source code for the deb package? thanks for your help.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
You didn't mention your version of libusb-0.
Default is usually two installed versions : libusb 0 , libusb 1.
'libticables' uses the old libusb-0, sometimes called "compat".
I upgraded libusb-0 from 0.1.3 to 0.1.12 .
Please read (again) http://packages.debian.org/sid/libticables2-1
The link has it all : 1) Explains everything. 2) And has source code.
→ → libusb-0.1-4 → http://packages.debian.org/sid/libusb-0.1-4
> > Links for libusb-0.1-4 > > [libusb_0.1.12.orig.tar.gz]
"libusb1" :
The later libusb, a different one, usually also installed on most *Linux,
e.g. version 1.0.8 cannot be used with 'libticables'.
( Slackware has only libusb 1 , may be Arch also comes with "1" only.)
..
Sorry about that I was having trouble understanding what you meant.
Well your fix has gotten me farther than I've ever come before. In fact, after switching to libusb-0.1.12 I got libticables installed and afterwards Tilp. But now, when I try to start Tilp I get this error:
Code:
tilp: symbol lookup error: /usr/lib/libticables2.so.3: undefined symbol: usb_debug
Any idea what it could be? usb_debug was one of the errors I got before when trying to install libticables so I'm sure it's related to this new libusb. Thanks again for all your help.
I tried your fix and everything seemed to be working until I tried to start Tilp and received the same error as before. Looking back at the output I noticed this:
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
The Debian link was meant to show, which versions, that will fit together.
And work.
The option "--disable--debug" is not included in "./configure --help"
for libticables2-1.2.0. It was done by trying, and it worked.
""configure: WARNING: unrecognized options: --disable--debug""
This means, it is not being used by version 1.3.1 .
../src/.libs/libticables2.so: undefined reference to `usb_debug'
../src/.libs/libticables2.so: undefined reference to `usb_error_type'
../src/.libs/libticables2.so: undefined reference to `usb_error_str'
Something must have went wrong with the installation of libusb-0.1.12 Is it possible that 0.1.3 didn't get removed or is somehow still there next to 0.1.12? The only thing that puzzles me is that libticables2-1.2.0 successfully installed. Any ideas or commands I should run to give you some insight?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
The two version of libusb should both be installed to --prefix=/usr.
The libusb, you have in /usr/ is probably version 1.0.x, and as /usr/lib/
is first in the search path : It will be used.
If you later on want to develop with libusb 1 : change the link libusb.so
to point to libusb-1.0.so.0.0.0 .
But for now it is libusb.so -> libusb-0.1.so.4.4.4 only.
..
So what should I do in order to get Tilp working. After switching to libticables-1.2.0 I cannot complete the install because I get the original 'undefined reference' error.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
If you didn't install libusb-0.1.12 to /usr/ :
Then you are still compiling libticables with the wrong libusb.
→ post #10.
Reason : 'libusb 0' = the version required for compiling must overwrite
libusb.so and usb.h to insure no mix-up with 'libusb 1' files.
Alternatively tell which version of glibc, you have :
And I will find a binary libticables for Arch 64bits, that works.
Or compile it, + test it with Tilp2. And upload it to Google Docs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.