|
From: Navdeep <sin...@re...> - 2009-07-27 04:04:01
|
hi, >For this i downloaded libusb souce code form sourceforge. Then i Built and installed it on the above machine as per instructions provided in "INSTALL" file which is successfully installed at location /usr/local/lib (Doubt 1 : why it installed at local in place of /usr/lib or /usr/lib64) I ve done this after updating the config file. But Still i am getting the below error. Does RHEL 4 supports the lib 1.0? Is there any need to uninstall the previous version of the libusb (.1.8) Thanks NAvdeep On Fri, 24 Jul 2009 12:06:37 +0530 wrote >Hi, > > > >I am working on RHEL 4 (64x).First time i am working on libusb. > >In our existing implementation of usbdaemon(binary) we are using the libusb.1.4 related functions ( usb_init(), usb_open(), usb_close) > > > >Now i want to update my usbdaemon(binary) to support with libusb1.0. > > > >For this i downloaded libusb souce code form sourceforge. Then i Built and installed it on the above machine as per instructions provided in "INSTALL" file which is successfully installed at location /usr/local/lib (Doubt 1 : why it installed at local in place of /usr/lib or /usr/lib64) > > > >After this if update my binary with the new function then i get the following error. > > > >/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib/libusb.so when searching for -lusb > >/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libusb.so when searching for -lusb > >/usr/bin/ld: skipping incompatible /usr/lib/../lib/libusb.so when searching for -lusb > >/usr/bin/ld: skipping incompatible /usr/lib64/libusb.so when searching for -lusb > >/usr/bin/ld: skipping incompatible /usr/lib64/libusb.a when searching for -lusb > >/usr/bin/ld: skipping incompatible /usr/lib/libusb.so when searching for -lusb > >/usr/bin/ld: cannot find -lusb > >collect2: ld returned 1 exit status > >make: *** [usbdaemon] Error 1 > > > > > >Here is my doubts: > > > >1. Does RHEL supports to the libusb1.0.so ? > >2. Why all files installed at local directory? > >3. Is there any other way to build my binary with libusb 1.0 ? > > > >Thanks & regards > >SNAV------------------------------------------------------------------------------ >_______________________________________________ >Libusb-devel mailing list >Lib...@li... >https://lists.sourceforge.net/lists/listinfo/libusb-devel > |