Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following protocol was used:
Preamble
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
$ uname -a
Linux rpi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
$ dmesg | grep Machine
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
$ sudo apt install gcc git
Actual
git clone [email protected]:mjw99/jna-inchi.git
cd jna-inchi
wget https://github.com/IUPAC-InChI/InChI/releases/download/v1.07.0/INCHI-1-SRC.zip unzip INCHI-1-SRC.zip
cd INCHI-1-SRC/INCHI_API/libinchi/gcc/
make
cd -
$ file ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.07 ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.07: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=f8b6cb655c83f62e682f7e8e7c24015e911f34ae, not stripped
cp ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.07 ./jna-inchi-linux-arm/src/main/resources/linux-arm/libjnainchi.so chmod -x ./jna-inchi-linux-arm/src/main/resources/linux-arm/libjnainchi.so