libimobiledevice/libusbmuxd

libplist-2.0.so not found in Android arm64 compilation

AiXanadu opened this issue · 1 comments

image
This compilation process can be passed when arm is 32-bit.
But when I change it to 64 bit, I can't link plist

export ANDROID_HOME=/home/xanadu/Android
export ANDROID_ARM_32=$ANDROID_HOME/ARM_32
export ANDROID_ARM_64=$ANDROID_HOME/ARM_64
export ANDROID_X86_32=$ANDROID_HOME/X86_32
export ANDROID_X86_64=$ANDROID_HOME/X86_64

$NDK_HOME/build/tools/make-standalone-toolchain.sh --platform=android-24 --arch=arm --install-dir=$ANDROID_ARM_32
$NDK_HOME/build/tools/make-standalone-toolchain.sh --platform=android-24 --arch=arm64 --install-dir=$ANDROID_ARM_64

32:
export PKG_CONFIG_PATH=$ANDROID_ARM_32/lib/pkgconfig
export PATH=$ANDROID_ARM_32:$PATH
export PATH=$PKG_CONFIG_PATH:$PATH
export PATH=$ANDROID_ARM_32/bin:$PATH
./autogen.sh --host=arm-linux-androideabi --prefix=$ANDROID_ARM_32

64:
export PKG_CONFIG_PATH=$ANDROID_ARM_64/lib/pkgconfig
export PATH=$ANDROID_ARM_64:$PATH
export PATH=$PKG_CONFIG_PATH:$PATH
export PATH=$ANDROID_ARM_64/bin:$PATH
./autogen.sh --host=aarch64-linux-android --prefix=$ANDROID_ARM_64

编译静态库可以通过