Dear Davide,
After running the tests I can confirm you that the problem is likely to be related with the arch of the libs.
We can try a couple of things.
Option 1For what I can see in the configure.sh, you are using a i386 version of the python lib. This should only be done in 32 bit operating systems.
Nowadays almost every computer use a 64 bit system. Can you confirm me that you are using a 32 bit OS?
If not, please try to change:
-DPYTHON_LIBRARY="/usr/lib/python3.5/config-3.5m-
x86-64-linux-gnu/libpython3.5m.so" \
-DPYTHON_INCLUDE_DIR="/usr/include/python3.5" \
Instead of
-DPYTHON_LIBRARY="/usr/lib/python3.5/config-3.5m-
i386-linux-gnu/libpython3.5m.so" \
-DPYTHON_INCLUDE_DIR="/usr/include/python3.5" \
Option 2In case your OS is indeed a 32 bit os, then probably boost was compiled for 64. In this case, please, remove these folders in the boost directory:
and try to rerun the boost compilation with one additional flag:
./b2 stage --with-python --with-serialization cxxflags="-std=c++11"
address-model=32_64 link=shared,static
Please, tell me if any of these solutions works for you.
Br.