No package ‘libimobiledevice-glue-1.0‘ found安装时依赖的libimobiledevice-gulue-1.0如果没有包装出现错误时的处理方法

翟弘
2023-12-01

报错:

Package requirements (libimobiledevice-glue-1.0 >= 1.0.0) were not met:
No package 'libimobiledevice-glue-1.0' found

依赖模块的libimobiledevice-gulue-1.0不足的错误。
明确了确认依存关系的实施确实需要libimobiledevice-gulue-1.0。

相关资料问答
https://github.com/libimobiledevice/usbmuxd/blob/master/configure.ac#L21
https://github.com/libimobiledevice/usbmuxd/issues/10#issuecomment-39726205

libimobiledevice-gulue的安装需要libplist
https://github.com/libimobiledevice/libimobiledevice-glue/blob/master/configure.ac#L33

libplist -> libimobiledevice-glue -> libusbmuxd -> libimobiledevice -> usbmuxd

因此,按照上述顺序手动安装了所需的软件包

# libplist
cd ~ \
&& git clone https://github.com/libimobiledevice/libplist.git \
&& cd libplist \
&& ./autogen.sh \
&& make \
&& sudo make install \
&& rm -rf ~/libplist

# libimobiledevice-glue
cd ~ \
&& git clone https://github.com/libimobiledevice/libimobiledevice-glue.git \
&& cd libimobiledevice-glue \
&& ./autogen.sh \
&& make \
&& sudo make install \
&& rm -rf ~/libimobiledevice-glue

# libusbmuxd
cd ~ \
&& git clone https://github.com/libimobiledevice/libusbmuxd.git \
&& cd libusbmuxd \
&& ./autogen.sh \
&& make \
&& sudo make install \
&& rm -rf ~/libusbmuxd

# libimobiledevice
cd ~ \
&& git clone https://github.com/libimobiledevice/libimobiledevice.git \
&& cd libimobiledevice \
&& ./autogen.sh \
&& make \
&& sudo make install \
&& rm -rf ~/libimobiledevice

# usbmuxd
cd ~ \
&& git clone https://github.com/libimobiledevice/usbmuxd.git \
&& cd usbmuxd \
&& ./autogen.sh \
&& make \
&& sudo make install \
&& rm -rf ~/usbmuxd

翻译:https://zenn.dev/huuya/articles/3f5f9ecd7258b0

 类似资料: