From a18c70843189cbabf72f4e502bf35b5df2d359bf Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Wed, 5 May 2021 13:05:48 +0100 Subject: Update guides with correct version of libprotobuf * libprotobuf.23 is the correct version of protobuf 3.12 Signed-off-by: Nikhil Raj Change-Id: I2dff2a2dcb48fc1038ef18f27d2aaee268710078 --- BuildGuideAndroidNDK.md | 6 +++--- BuildGuideCrossCompilation.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BuildGuideAndroidNDK.md b/BuildGuideAndroidNDK.md index 26728c4c92..7257a5bdc3 100644 --- a/BuildGuideAndroidNDK.md +++ b/BuildGuideAndroidNDK.md @@ -223,9 +223,9 @@ adb push libarmnn.so /data/local/tmp/ adb push libtimelineDecoder.so /data/local/tmp/ adb push UnitTests /data/local/tmp/ adb push $NDK/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/libc++_shared.so /data/local/tmp/ -adb push $HOME/armnn-devenv/google/arm64_pb_install/lib/libprotobuf.so /data/local/tmp/libprotobuf.so.24.0.0 -adb shell 'ln -s libprotobuf.so.24.0.0 /data/local/tmp/libprotobuf.so.24' -adb shell 'ln -s libprotobuf.so.24.0.0 /data/local/tmp/libprotobuf.so' +adb push $HOME/armnn-devenv/google/arm64_pb_install/lib/libprotobuf.so /data/local/tmp/libprotobuf.so.23.0.0 +adb shell 'ln -s libprotobuf.so.23.0.0 /data/local/tmp/libprotobuf.so.23' +adb shell 'ln -s libprotobuf.so.23.0.0 /data/local/tmp/libprotobuf.so' ``` * Push the files needed for the unit tests (they are a mix of files, directories and symbolic links): diff --git a/BuildGuideCrossCompilation.md b/BuildGuideCrossCompilation.md index 0f42f9e01a..c2893d309f 100644 --- a/BuildGuideCrossCompilation.md +++ b/BuildGuideCrossCompilation.md @@ -233,7 +233,7 @@ make cd build/ ``` -* Create a symbolic link to libprotobuf.so.24.0.0: +* Create a symbolic link to libprotobuf.so.23.0.0: ```bash ln -s libprotobuf.so.23.0.0 ./libprotobuf.so.23 @@ -292,7 +292,7 @@ sudo ./b2 clean ### Missing libz.so.1 * When compiling armNN: ```bash -/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: warning: libz.so.1, needed by /home//armNN/usr/lib64/libprotobuf.so.24.0.0, not found (try using -rpath or -rpath-link) +/usr/lib/gcc-cross/aarch64-linux-gnu/5/../../../../aarch64-linux-gnu/bin/ld: warning: libz.so.1, needed by /home//armNN/usr/lib64/libprotobuf.so.23.0.0, not found (try using -rpath or -rpath-link) ``` * Missing arm64 libraries for libz.so.1, these can be added by adding a second architecture to dpkg and explicitly installing them: -- cgit v1.2.1