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.
I'm trying to get my scanner to work under Slackware 10. It's a HP3300C and needs the niash backend which in turn needs libusb-0.1.5.
Downloaded that as well (libusb-0.1.8.tar.gz)and compiled it. Installed it in /usr/local/lib.
Distribution: Red Hat (8.0), SuSE (10.x, 11.x), Solaris (8-10), Tru64
Posts: 738
Rep:
Just a thought:
You might be able to control the order in /etc/ld.so.conf. (I haven't tried this so YMMV.)
You can control the library search order for some applications using the environment variable "LD_LIBRARY_PATH". If you put /usr/local/lib first, you should find you V0.1.8 library before the V0.1.5 library.
generally its library.major_number.minor_number.patch_level symlinked to library.major_number
those two do look the same. generally, if your gonna upgrade a package, you should replace the original package instead of installing a conflicting version in an different directory (LD_LIBRARY_PATH will work, but you'd have to add it to a global config file or set it every time you wanted to use the new library)
Originally posted by __J generally its library.major_number.minor_number.patch_level symlinked to library.major_number
those two do look the same. generally, if your gonna upgrade a package, you should replace the original package instead of installing a conflicting version in an different directory (LD_LIBRARY_PATH will work, but you'd have to add it to a global config file or set it every time you wanted to use the new library)
I will replace the original; this was just to try (like to be carefull). What I see from the listings, both seem to be 0.1.4 (so even the patch level is the same according to your info). And that is what I don't understand: why doesn't the new one have 0.1.8 in its name? If names don't give the answer, which other way is there.
BTW The scanner is now working (after upgrading to a later sane-version with niash-backend support). This also implies that the libusb is at least 0.1.5 (as required by the niash backend).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.