Install Libusb Compat Ubuntu Server
I have just changed to Fedora 20 and I am trying to get used to it and to learn it. Before I have only worked with ubuntu so there are some new things for me.
I have tried to compile openni_master by downloading the package from git. The first step is to enter
200 100% Leading this Week Pts Helpful 1. Technosat ts 500 software update. Leader Board Leading Today Pts Helpful 1.
Software Packages in 'trusty', Subsection libs. Ubuntu One authentication library. GStreamer plugin to install codecs using PackageKit. Installing 32-bit libraries on Ubuntu 16.04 Xenial Xerus. Ubuntu used to have a hackish way to get a 32-bit runtime on a 64-bit system with the. Feb 4, 2016 - I was able to get cgminer to build the icarus extension on a fresh CentOS system like so: yum install git git clone.
ans to run sudo ./RedistMaker .
When I do that I get the following:
So I tried running
Jun 28, 2015 - Home » Tips dan Trik » Cara Menyembunyikan IP Address di Google Chrome. The cheapest car insurance cost of car insurance best car. Cara menyembunyikan ip address tanpa software. No information is available for this page.Learn why.
Running locate libgusb gives the .so files
but no libusb-1.0.h.
So I tried downloading the package libusb-1.0.18 from the web and compile it on my computer.But running ./configure in the folder gives
So I installed
and
Probably I am installing the wrong packages, but I am new to Fedora and I don't really know where to search for them.
Any help is appreciated!
/ Erik
2 Answers
In Fedora (and other distros using yum for package management), you can find out which package provides a certain file like so:
If you only know a portion of the filename, you can use wildcards:
So, what provides libusb.h
?
So you need to install libusbx-devel
.
I had a similar problem but libusb.h was present.
Fixed by installing an updated libudev:
Not the answer you're looking for? Browse other questions tagged fedoraopennilibusb-1.0 or ask your own question.
I get the following errors installing libusb and hidapi (as dependencies of openocd on ubuntu 14.04) it's necessary to run sudo apt-get install libudev-dev to get libusb to install, and i have to specify brew install openocd -without-hidapi otherwise hidapi will keep failing. Installing open-ocd dependency: libusb Downloading Downloading from ######################################################################## 100.0%./configure -prefix=/home/d/.linuxbrew/Cellar/libusb/1.0.20 Last 15 lines from /home/d/.cache/Homebrew/Logs/libusb/01.configure: checking whether -lc should be explicitly linked in. No checking dynamic linker characteristics.
GNU/Linux ld.so checking how to hardcode library paths into programs. Immediate checking whether stripping libraries is possible. Yes checking if libtool supports shared libraries. Yes checking whether to build shared libraries.
Yes checking whether to build static libraries. Yes checking for windres. No checking for inline. Inline checking operating system. Linux checking for library containing clockgettime.
None required checking libudev.h usability. No checking libudev.h presence. No checking for libudev.h. No configure: error: 'udev support requested but libudev not installed' READ THIS: Downloading Already downloaded: /home/d/.cache/Homebrew/hidapi-0.8.0-rc1.tar.gz Downloading Already downloaded: /home/d/.cache/Homebrew/hidapi-patch-82631c8a6ec307482c09c133f9da65704304aa0ef286467b7fe5c2.diff Patching Applying 219.diff patching file mac/hid.c./bootstrap./configure -prefix=/home/d/.linuxbrew/Cellar/hidapi/0.8.0-rc1 Last 15 lines from /home/d/.cache/Homebrew/Logs/hidapi/02.configure: checking dynamic linker characteristics.
(cached) GNU/Linux ld.so checking how to hardcode library paths into programs. Immediate checking whether we are using the GNU Objective C compiler. No checking whether /usr/bin/gcc-4.8 accepts -g.
No checking dependency style of /usr/bin/gcc-4.8. Gcc3 checking for pkg-config. /home/d/.linuxbrew/bin/pkg-config checking pkg-config is at least version 0.9.0.
Yes checking whether make supports nested variables. (cached) yes checking operating system. X8664-unknown-linux-gnu (Linux back-end) checking for libudev. No Library libudev was not found on this system.
Please install it and re-run./configure READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting. Running brew install systemd generates the following error: Installing systemd Downloading ######################################################################## 100.0%./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking if /usr/bin/gcc-4.8 supports -c -o file.o. (cached) yes checking whether the /usr/bin/gcc-4.8 linker (/usr/bin/ld -m elfx8664) supports shared libraries. Yes checking whether -lc should be explicitly linked in. No checking dynamic linker characteristics. GNU/Linux ld.so checking how to hardcode library paths into programs.
Libusb Win 10
Immediate checking whether stripping libraries is possible. Yes checking if libtool supports shared libraries.
Yes checking whether to build shared libraries. Yes checking whether to build static libraries. No checking for intltool-merge. No configure: WARNING:. Disabling NLS support because intltool was not found checking whether NLS is requested. No./configure: line 12934: intltool-update: command not found checking for intltool = 0.40.0.
Found configure: error: Your intltool is too old. You need intltool 0.40.0 or later. READ THIS: After installing intltool through apt-get and re-running the command: Downloading Already downloaded: /home/davide/.cache/Homebrew/systemd-221.tar.xz./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking for m4. /usr/bin/m4 checking for xsltproc. No checking for quotaon.
/usr/sbin/quotaon checking for quotacheck. /usr/sbin/quotacheck checking for setcap.
/sbin/setcap checking for kill. /bin/kill checking for kmod. /bin/kmod checking for kexec. /usr/sbin/kexec checking for sulogin. /sbin/sulogin checking for mount. /bin/mount checking for umount. /bin/umount checking for objcopy.
Objcopy checking for strings. Strings checking for gperf. No configure: error:. gperf not found READ THIS: after running brew install homebrew/dupes/gperf Downloading Already downloaded: /home/davide/.cache/Homebrew/systemd-221.tar.xz./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking whether IFLAVTIREMOTE is declared. Yes checking whether IFLAPHYSPORTID is declared. Yes checking whether IFLABONDADINFO is declared. No checking whether IFLAVLANPROTOCOL is declared.
Yes checking whether IFLAVXLANREMCSUMNOPARTIAL is declared. No checking whether IFLAIPTUN6RDRELAYPREFIXLEN is declared. Yes checking whether IFLABRIDGEVLANINFO is declared.
Yes checking whether IFLABRPORTUNICASTFLOOD is declared. Yes checking whether NDAIFINDEX is declared. Yes checking whether IFAFLAGS is declared. No checking for DBUS. No checking for XKBCOMMON. No checking for BLKID.
No checking for MOUNT. No configure: error:. libmount support required but libraries not found READ THIS: And i'm afraid from that on i can't build it. Installing linux-utils does not appear to fix the problem. Running brew install systemd generates the following error: Installing systemd Downloading ######################################################################## 100.0%./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking if /usr/bin/gcc-4.8 supports -c -o file.o.
(cached) yes checking whether the /usr/bin/gcc-4.8 linker (/usr/bin/ld -m elfx8664) supports shared libraries. Yes checking whether -lc should be explicitly linked in. No checking dynamic linker characteristics. GNU/Linux ld.so checking how to hardcode library paths into programs. Immediate checking whether stripping libraries is possible. Yes checking if libtool supports shared libraries. Yes checking whether to build shared libraries.
Yes checking whether to build static libraries. No checking for intltool-merge. No configure: WARNING:. Disabling NLS support because intltool was not found checking whether NLS is requested.
No./configure: line 12934: intltool-update: command not found checking for intltool = 0.40.0. Found configure: error: Your intltool is too old. You need intltool 0.40.0 or later.
READ THIS: After installing intltool through apt-get and re-running the command: Downloading Already downloaded: /home/davide/.cache/Homebrew/systemd-221.tar.xz./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking for m4. /usr/bin/m4 checking for xsltproc. No checking for quotaon. /usr/sbin/quotaon checking for quotacheck. /usr/sbin/quotacheck checking for setcap. /sbin/setcap checking for kill.
/bin/kill checking for kmod. /bin/kmod checking for kexec. /usr/sbin/kexec checking for sulogin. /sbin/sulogin checking for mount. /bin/mount checking for umount. /bin/umount checking for objcopy. Objcopy checking for strings.
Strings checking for gperf. No configure: error:. gperf not found READ THIS: after running brew install homebrew/dupes/gperf Downloading Already downloaded: /home/davide/.cache/Homebrew/systemd-221.tar.xz./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-rootprefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-sysvinit-path=/home/davide/.linuxbrew/ Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking whether IFLAVTIREMOTE is declared. Yes checking whether IFLAPHYSPORTID is declared. Yes checking whether IFLABONDADINFO is declared. No checking whether IFLAVLANPROTOCOL is declared. Yes checking whether IFLAVXLANREMCSUMNOPARTIAL is declared.
No checking whether IFLAIPTUN6RDRELAYPREFIXLEN is declared. Yes checking whether IFLABRIDGEVLANINFO is declared. Yes checking whether IFLABRPORTUNICASTFLOOD is declared. Yes checking whether NDAIFINDEX is declared. Yes checking whether IFAFLAGS is declared. No checking for DBUS. No checking for XKBCOMMON.
No checking for BLKID. No checking for MOUNT.
No configure: error:. libmount support required but libraries not found READ THIS: And i'm afraid from that on i can't build it. Installing linux-utils does not appear to fix the problem. I've added the missing dependencies. Thanks for the feedback systemd is checking for a libmount.pc ( pkg-config) file, but is not finding one. Util-linux does not install a.pc file for libmount.
$ ls /gsc/btl/linuxbrew/Cellar/util-linux/2.26/lib/pkgconfig/ blkid.pc fdisk.pc mount.pc smartcols.pc uuid.pc I also don't see such a file on my host system, so I'm not sure how it built successfully on my system. I'll gist the build logs. The mount.pc file is installed by util-linux and should be picked up by systemd. I've added the missing dependencies.
Thanks for the feedback systemd is checking for a libmount.pc ( pkg-config) file, but is not finding one. Util-linux does not install a.pc file for libmount. $ ls /gsc/btl/linuxbrew/Cellar/util-linux/2.26/lib/pkgconfig/ blkid.pc fdisk.pc mount.pc smartcols.pc uuid.pc I also don't see such a file on my host system, so I'm not sure how it built successfully on my system. I'll gist the build logs.
The mount.pc file is installed by util-linux and should be picked up by systemd. When running on a Ubuntu 14.04.3 server 64 (reinstalled from scratch, updated) #brew install openocd Installing open-ocd dependency: libusb-compat Error: /home/davide/.linuxbrew/opt/libcap not present or broken Please reinstall libcap. Sorry:( i ran #brew install libcap, #brew install openocd: Installing open-ocd dependency: systemd Downloading ######################################################################## 100.0%./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-roo Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking whether stripping libraries is possible. Yes checking if libtool supports shared libraries. Yes checking whether to build shared libraries.
Yes checking whether to build static libraries. No checking for intltool-merge. Yes checking whether NLS is requested. Yes checking for intltool = 0.40.0. 0.51.0 found checking for intltool-update. /home/davide/.linuxbrew/bin/intltool-update checking for intltool-merge. /home/davide/.linuxbrew/bin/intltool-merge checking for intltool-extract.
/home/davide/.linuxbrew/bin/intltool-extract checking for xgettext. No checking for msgmerge. No checking for msgfmt.
No checking for gmsgfmt. When running on a Ubuntu 14.04.3 server 64 (reinstalled from scratch, updated) #brew install openocd Installing open-ocd dependency: libusb-compat Error: /home/davide/.linuxbrew/opt/libcap not present or broken Please reinstall libcap. Sorry:( i ran #brew install libcap, #brew install openocd: Installing open-ocd dependency: systemd Downloading ######################################################################## 100.0%./configure -disable-silent-rules -prefix=/home/davide/.linuxbrew/Cellar/systemd/221 -with-roo Last 15 lines from /home/davide/.cache/Homebrew/Logs/systemd/01.configure: checking whether stripping libraries is possible. Yes checking if libtool supports shared libraries. Yes checking whether to build shared libraries. Yes checking whether to build static libraries.
No checking for intltool-merge. Yes checking whether NLS is requested. Yes checking for intltool = 0.40.0.
0.51.0 found checking for intltool-update. /home/davide/.linuxbrew/bin/intltool-update checking for intltool-merge. /home/davide/.linuxbrew/bin/intltool-merge checking for intltool-extract.
/home/davide/.linuxbrew/bin/intltool-extract checking for xgettext. No checking for msgmerge. No checking for msgfmt.
No checking for gmsgfmt. I ran on a (nearly) clear system Downloading Already downloaded: /home/davide/.cache/Homebrew/hidapi-0.8.0-rc1.tar.gz Downloading Already downloaded: /home/davide/.cache/Homebrew/hidapi-patch-82631c8a6ec307482c09c133f9da65704304aa0ef286467b7fe5c2.diff Patching Applying 219.diff patching file mac/hid.c./bootstrap./configure -prefix=/home/davide/.linuxbrew/Cellar/hidapi/0.8.0-rc1 Last 15 lines from /home/davide/.cache/Homebrew/Logs/hidapi/02.configure: checking dynamic linker characteristics.
(cached) GNU/Linux ld.so checking how to hardcode library paths into programs. Immediate checking whether we are using the GNU Objective C compiler. No checking whether /usr/bin/gcc-4.8 accepts -g.
No checking dependency style of /usr/bin/gcc-4.8. Gcc3 checking for pkg-config. /home/davide/.linuxbrew/bin/pkg-config checking pkg-config is at least version 0.9.0. Yes checking whether make supports nested variables. (cached) yes checking operating system. X8664-unknown-linux-gnu (Linux back-end) checking for libudev.
No Library libudev was not found on this system. Please install it and re-run./configure READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting. I ran on a (nearly) clear system Downloading Already downloaded: /home/davide/.cache/Homebrew/hidapi-0.8.0-rc1.tar.gz Downloading Already downloaded: /home/davide/.cache/Homebrew/hidapi-patch-82631c8a6ec307482c09c133f9da65704304aa0ef286467b7fe5c2.diff Patching Applying 219.diff patching file mac/hid.c./bootstrap./configure -prefix=/home/davide/.linuxbrew/Cellar/hidapi/0.8.0-rc1 Last 15 lines from /home/davide/.cache/Homebrew/Logs/hidapi/02.configure: checking dynamic linker characteristics. Program intervensi pemulihan khas. (cached) GNU/Linux ld.so checking how to hardcode library paths into programs.
Immediate checking whether we are using the GNU Objective C compiler. No checking whether /usr/bin/gcc-4.8 accepts -g. No checking dependency style of /usr/bin/gcc-4.8. Gcc3 checking for pkg-config. /home/davide/.linuxbrew/bin/pkg-config checking pkg-config is at least version 0.9.0.
Yes checking whether make supports nested variables. (cached) yes checking operating system.
X8664-unknown-linux-gnu (Linux back-end) checking for libudev. No Library libudev was not found on this system. Please install it and re-run./configure READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting.