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.
Needless to say, with this addition, all the unit tests pass on a RPI.
The following protocol was used:
Preamble
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
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.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
$ dmesg | grep fdt
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1
$ sudo apt install gcc git
Actual
git clone git clone https://github.com/dan2097/jna-inchi.git
cd jna-inchi
wget https://www.inchi-trust.org/download/106/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.06.00
./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=e8bd8aa5658a8418b86702f840c3691e6ae05f5e, not stripped
mkdir ./jna-inchi-core/src/main/resources/linux-arm
cp ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00 ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so
chmod -x ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so