LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 08-20-2003, 02:56 PM   #1
Hyperion007
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
/usr/bin/ld: cannot find -lusb error??


Hi

No one has been able to help me with this problem and I mean know one lol I have asked hundreds of so called linux experts, and none have given a solution that worked.

I am having no luck at all installing my adsl modems, either one.
I had decided to give l
Linux another go because people were swearing blind to me that it was getting a lot better, but it seems every time I try it again, no matter the distro, I always end up with an unfixable problem that I canít solve. It simply scares me away, why does it have to be so hard to operate? Itís supposed to be a system designed to make my life easier not more stressful?

Anyways I am after installing either my Zoom modem or my Copperjet allied data 800 one, both adsl usb modems.

With the copperjet one I managed to get hold of a driver for it from sourceforge, and it looked to be the promising of the two for a success, but I am getting the following error when I do a, make

cc -I../lib/libusb -c common.c
cc -I../lib/libusb -lusb 5160.c common.o -o 5160
/usr/bin/ld: cannot find -lusb
collect2: ld returned 1 exit stats
make[1]:*** [5160] Error 1
make[1]:leaving dir the dir i was doing the make in
make:*** [911] error 2

Now I had a look around through google doing a search for, lusb, and found some forum posts relating to, usbutils, package, and it not being installed, so I checked and usbutils is installed on my machine,

So I am stumped, I have no clue what to do next??????????

Its so frustrating because I have the driver for the copperjet modem right here I just canít install it because of that dumb error above.

If its not asking for usbutils with lusb in it, then what the hell is , -lusb, and how can I get it on my system?

Or if its not asking for -lusb then what the hell is it asking for??????
Can anyone out there help me at all?? I am a n00b and have no clue what to do next at all???

conenction is pppoe ATM via the usb modems.
ppp over ATM VCMU [RFC2364]

I am using Mandrake 9.1
Hyperion out

Last edited by Hyperion007; 08-20-2003 at 02:59 PM.
 
Old 08-21-2003, 04:16 AM   #2
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Hi Hyperion007!

I am not a so-called expert in hardware installation in linux but I know a little bit how make works. So, the error your received tells you the following:

/usr/bin/ld is the linker (see man ld)

-lusb is the way gcc (via make) understand the library. Using gcc convention, this means that it is looking ofr the file called libusb.a located in one of the LIBDIRS written in your makefile. (see also man gcc)

So, this means gcc didn't find this library. So, two possible ways to fix it:
- Make is not looking in the directory where you have the file installed on your computer. You should find this directory and add it to your makefile
- You don't have the file installed on your computer.

That's the best I can do! I really hope it will work.

Best of luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 03:28 AM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg schatoor Linux - Software 1 12-21-2003 08:15 AM
/usr/bin/ld: cannot find -lusb help??? Hyperion007 Linux - Hardware 1 08-20-2003 05:39 PM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration