Libimobiledevice: 从 brew 安装 libimobiledevice 时出现的问题

创建于 2020-05-20  ·  3评论  ·  资料来源: libimobiledevice/libimobiledevice

我在使用 HEAD 使用 brew 安装 lib 时遇到问题。 有什么建议吗?

brew install --HEAD libimobiledevice

安装 libimobiledevice --HEAD
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/libimobiledevice/HEAD-59f16a1_6 --without-cython --enable-debug-code
==> 进行安装
来自 /Users/fwk-online/Library/Logs/Homebrew/libimobiledevice/03.make 的最后 15 行:
libtool:编译:clang -DHAVE_CONFIG_H -I。 -I.. -I../include -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/libplist/2.1.0 /include -I/usr/local/Cellar/[email protected]/1.1.1g/include -g -O2 -c preboard.c -o preboard.o >/dev/null 2>&1
libtool:编译:clang -DHAVE_CONFIG_H -I。 -I.. -I../include -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/libplist/2.1.0 /include -I/usr/local/Cellar/[email protected]/1.1.1g/include -g -O2 -c partner_proxy.c -fno-common -DPIC -o .libs/companion_proxy.o
libtool:编译:clang -DHAVE_CONFIG_H -I。 -I.. -I../include -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/libplist/2.1.0 /include -I/usr/local/Cellar/[email protected]/1.1.1g/include -g -O2 -c syslog_relay.c -fno-common -DPIC -o .libs/syslog_relay.o
libtool:编译:clang -DHAVE_CONFIG_H -I。 -I.. -I../include -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/libplist/2.1.0 /include -I/usr/local/Cellar/[email protected]/1.1.1g/include -g -O2 -c syslog_relay.c -o syslog_relay.o >/dev/null 2>&1
libtool:编译:clang -DHAVE_CONFIG_H -I。 -I.. -I../include -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/libplist/2.1.0 /include -I/usr/local/Cellar/[email protected]/1.1.1g/include -g -O2 -c partner_proxy.c -o partner_proxy.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link clang -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-参数 -fsigned-char -fvisibility=hidden -I/usr/local/Cellar/libplist/2.1.0/include -I/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/include -I/usr/local/Cellar/ libplist/2.1.0/include -I/usr/local/Cellar/ [email protected]/1.1.1g/include -g -O2 -L/usr/local/Cellar/libplist/2.1.0/lib -lplist -L/ usr/local/Cellar/libusbmuxd/HEAD-5364a1b/lib -lusbmuxd -L/usr/local/Cellar/ [email protected]/1.1.1g/lib -lssl -lcrypto -version-info 6:0:0 -no-undefined -o libimobiledevice.la -rpath /usr/local/Cellar/libimobiledevice/HEAD-59f16a1_6/lib idevice.lo service.lo property_list_service.lo device_link_service.lo lock.lo afc.lo file_relay.lo notification_proxy.lo installation_proxy.lo sbservices。 lo mobile_image_mounter.lo screenshotr.lo mobilesync.lo mobilebackup.lo house_arrest.lo mobilebackup2.lo misagent.lo restore.lo diagnostics_relay.lo hea rtbeat.lo debugserver.lo webinspector.lo mobileactivation.lo preboard.lo partner_proxy.lo syslog_relay.lo ../common/libinternalcommon.la
libtool:链接:clang -dynamiclib -o .libs/libimobiledevice.6.dylib .libs/idevice.o .libs/service.o .libs/property_list_service.o .libs/device_link_service.o .libs/lockdown.o .libs/ afc.o .libs/file_relay.o .libs/notification_proxy.o .libs/installation_proxy.o .libs/sbservices.o .libs/mobile_image_mounter.o .libs/screenshotr.o .libs/mobilesync.o .libs/mobilebackup。 o .libs/house_arrest.o .libs/mobilebackup2.o .libs/misagent.o .libs/restore.o .libs/diagnostics_relay.o .libs/heartbeat.o .libs/debugserver.o .libs/webinspector.o . libs/mobileactivation.o .libs/preboard.o .libs/companion_proxy.o .libs/syslog_relay.o -Wl,-force_load,../common/.libs/libinternalcommon.a -L/usr/local/Cellar/libplist /2.1.0/lib -L/usr/local/Cellar/libusbmuxd/HEAD-5364a1b/lib -L/usr/local/Cellar/ [email protected]/1.1.1g/lib -lssl -lcrypto -lusbmuxd -lplist -g -O2 -install_name /usr/local/Cellar/libimobiledevice/HEAD-59f16a1_6/lib/libimobiledevice.6.dylib -compatibility_version 7 -current_version 7.0 -Wl,-single_module
体系结构 x86_64 的未定义符号:
“_plist_string_val_compare”,引用自:
_compproxy_get_device_registry 在伴随_proxy.o
_compproxy_get_value_from_registry in partner_proxy.o
ld:找不到架构 x86_64 的符号
clang:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)
make[1]: * [libimobiledevice.la] 错误 1制作:* [安装递归] 错误 1

阅读本文: https :

请创建拉取请求,而不是在 Homebrew 的 GitHub 上寻求帮助,
话语、推特或 IRC。

最有用的评论

您必须更新 libplist。
为我工作
brew 卸载 libplist
brew install libplist --HEAD
brew install libimobiledevice --HEAD

所有3条评论

您必须更新 libplist。

您必须更新 libplist。
为我工作
brew 卸载 libplist
brew install libplist --HEAD
brew install libimobiledevice --HEAD

太感谢了!
问题已经解决

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

truonggiang0710 picture truonggiang0710  ·  3评论

mrPsycho picture mrPsycho  ·  6评论

Hiepars picture Hiepars  ·  3评论

kloczek picture kloczek  ·  4评论

txaj picture txaj  ·  5评论