Skip to content

Instantly share code, notes, and snippets.

@alanwhite
Created December 22, 2021 12:29
Show Gist options
  • Save alanwhite/60f63ba43748cafa3454827acb409ef8 to your computer and use it in GitHub Desktop.
Save alanwhite/60f63ba43748cafa3454827acb409ef8 to your computer and use it in GitHub Desktop.
Trying to install libusbmuxd
==> Downloading https://ghcr.io/v2/homebrew/core/m4/manifests/1.4.19
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/m4/blobs/sha256:e0fec6a49fd80cc7279c71f319d70d01ed49e894b53cd91e39f170288232fa93
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:e0fec6a49fd80cc7279c71f319d70d01ed49e894b53cd91e39f
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/automake/manifests/1.16.5
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/automake/blobs/sha256:ae77a247a13ea860236a29b02769f5327395f712413f694d8a8d20cb6c21332d
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ae77a247a13ea860236a29b02769f5327395f712413f694d8a8
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/manifests/2.4.6_4
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libtool/blobs/sha256:ad541ac37b9a8042f998fb3640fe60f70d38483fa6a0784953d880190e9cc762
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:ad541ac37b9a8042f998fb3640fe60f70d38483fa6a0784953d
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libplist/manifests/2.2.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libplist/blobs/sha256:20faf60d286c8ceed790a9b6e34245acf7bafacc7fcbcb390d6b62e194b323e6
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:20faf60d286c8ceed790a9b6e34245acf7bafacc7fcbcb390d6
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libusb/manifests/1.0.24
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libusb/blobs/sha256:034ae259f17afb5894860cdb1786fd6d391359e8d221c0f765eceed6210b60df
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:034ae259f17afb5894860cdb1786fd6d391359e8d221c0f765e
######################################################################## 100.0%
==> Cloning https://github.com/libimobiledevice/libusbmuxd.git
Cloning into '/Users/alanwhite/Library/Caches/Homebrew/libusbmuxd--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
==> Installing dependencies for libusbmuxd: m4, automake, libtool, libplist and libusb
==> Installing libusbmuxd dependency: m4
==> Pouring m4--1.4.19.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/m4/1.4.19: 13 files, 724.4KB
==> Installing libusbmuxd dependency: automake
==> Pouring automake--1.16.5.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/automake/1.16.5: 131 files, 3.5MB
==> Installing libusbmuxd dependency: libtool
==> Pouring libtool--2.4.6_4.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/libtool/2.4.6_4: 75 files, 3.7MB
==> Installing libusbmuxd dependency: libplist
==> Pouring libplist--2.2.0.catalina.bottle.tar.gz
🍺 /usr/local/Cellar/libplist/2.2.0: 30 files, 386.7KB
==> Installing libusbmuxd dependency: libusb
==> Pouring libusb--1.0.24.catalina.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/libusb-1.0/libusb.h
Target /usr/local/include/libusb-1.0/libusb.h
is a symlink belonging to libusb. You can unlink it:
brew unlink libusb
To force the link and overwrite all conflicting files:
brew link --overwrite libusb
To list all files that would be deleted:
brew link --overwrite --dry-run libusb
Possible conflicting files are:
/usr/local/include/libusb-1.0/libusb.h -> /usr/local/Cellar/libusb/1.0.19/include/libusb-1.0/libusb.h
/usr/local/lib/libusb-1.0.0.dylib -> /usr/local/Cellar/libusb/1.0.19/lib/libusb-1.0.0.dylib
/usr/local/lib/libusb-1.0.a -> /usr/local/Cellar/libusb/1.0.19/lib/libusb-1.0.a
/usr/local/lib/libusb-1.0.dylib -> /usr/local/Cellar/libusb/1.0.19/lib/libusb-1.0.dylib
/usr/local/lib/pkgconfig/libusb-1.0.pc -> /usr/local/Cellar/libusb/1.0.19/lib/pkgconfig/libusb-1.0.pc
==> Summary
🍺 /usr/local/Cellar/libusb/1.0.24: 22 files, 516.7KB
==> Installing libusbmuxd --HEAD
==> ./autogen.sh
Last 15 lines from /Users/alanwhite/Library/Logs/Homebrew/libusbmuxd/01.autogen.sh:
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libplist-2.0 >= 2.2.0... yes
checking for libimobiledevice-glue-1.0 >= 1.0.0... no
configure: error: Package requirements (libimobiledevice-glue-1.0 >= 1.0.0) were not met:
No package 'libimobiledevice-glue-1.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables limd_glue_CFLAGS
and limd_glue_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
READ THIS: https://docs.brew.sh/Troubleshooting
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment