10-21-2013
Cannot find -lusb in opensuse 12.2
I am compiling a program under opensuse 12.2 with the following build rule,
$(BDIR)/suse_test_app: $(OBJSS)
$(CC++) $(OPTIMIZE) -o $@ $(FCFLAGS) $(OBJSS) -lusb -lpthread
I am getting a linker error,
cannot find -lusb
I have the usb devel lib (libusb-1_0-devel) installed in yast, so I'm not sure why I am getting this error. Does the library have a different name under suse?
According to yast, the files are here,
/usr/include/libusb-1.0
/usr/include/libusb-1.0/libusb.h
/usr/lib64/libusb-1.0.so
I have checked and all of that is where it is supposed to be. Can someone let me know how to fix this. Do I need to create a link somewhere that will let make know where the library is?
LMHmedchem
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have never installed unix, after going through forum i realised opensuse is one of the goodoptions. I have downloaded iso image and burned DVD and took installation print out.
I have created a partition (g)of 10gb, but my question is how do i make unix to get installed on my partitioned... (0 Replies)
Discussion started by: striker1
0 Replies
2. Linux
Because some program i have installed can not upload files bigger than some size as printing, the base got a packet bigger than 'max_allowed_packet' bytes what that i need to do as written in the documentation of the program increase the value of a fileld called LimitRequestBody told that is in... (5 Replies)
Discussion started by: tal
5 Replies
3. SuSE
do not have lock and unlock function,
is any way to lock the tape drive
under opensuse 10?
thanks (4 Replies)
Discussion started by: lijiajin
4 Replies
4. UNIX for Advanced & Expert Users
hello, i have a dell Poweredge 2950 ( Server ) and an IBM storage device DS 3000 family ( Storage ) . I am supposed to link the IBM storage device to the Dell Poweredge via "Emulex 4Gb Fibre Channel Host Bus Adapter".
I have put the addapter card in my server and connected it to the storage.... (3 Replies)
Discussion started by: nux007
3 Replies
5. SuSE
does Novell support openSUSE as it does for it's server packages, or is openSUSE's support the same as every other distribution of linux? (1 Reply)
Discussion started by: bcbotha
1 Replies
6. SuSE
Hello, I have a file server running openSuse 11.1, that has two HDDs running in RAID 0 (mirroring) using the md software RAID linux driver. I was considering removing this RAID, using one of the drives as the OS and the other as a data drive. Is there any way to stop using this as a RAID set to do... (4 Replies)
Discussion started by: vwgtiturbo
4 Replies
7. SuSE
Hi,
We are ready to update OpenSuSE for our web servers from 11.2 to either 11.4 or 12.1.
12.1 is still a beta version. Is it stable and reliable enough for production servers? Please share your valuable experiences.
Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies
LEARN ABOUT CENTOS
libusb
libusb(3LIB) Interface Libraries libusb(3LIB)
NAME
libusb - user-space USB device management library
SYNOPSIS
cc [ flag... ] -I/usr/sfw/include file... -L/usr/sfw/lib -R/usr/sfw/lib
-lusb [ library... ]
#include <usb.h>
DESCRIPTION
The libusb library contains interfaces for managing USB devices without a kernel driver. It is an open-source API supported on Linux, Mac-
OS X, and NetBSD. See http://libusb.sourceforge.net.
The current implementation is version 0.1.8 of the libusb API.
Complete documentation for this library can be found at /usr/sfw/share/doc/libusb/libusb.txt.
INTERFACES
The shared object libusb.so.1 provides the following public interfaces. See intro(3) for additional information on shared object inter-
faces.
usb_bulk_read usb_bulk_write
usb_claim_interface usb_clear_halt
usb_close usb_control_msg
usb_find_busses usb_find_devices
usb_get_busses usb_get_descriptor_by_endpoint
usb_get_descriptor usb_get_string
usb_get_string_simple usb_init
usb_interrupt_read usb_interrupt_write
usb_open usb_release_interface
usb_reset usb_resetep
usb_set_altinterface usb_set_configuration
usb_set_debug usb_strerror
FILES
/usr/sfw/lib/libusb.so.1 shared object
/usr/sfw/lib/libusb_plugins implementation-specific libusb modules
/usr/sfw/bin/libusb-config script to determine linking environment
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWlibusb, SUNWlibusbut, |
| |SUNWlibugenusb |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
intro(3), attributes(5)
http://libusb.sourceforge.net
SunOS 5.10 14 Oct 2004 libusb(3LIB)