macchina-io / macchina.io

macchina.io EDGE is a powerful C++ and JavaScript SDK for edge devices, multi-service IoT gateways and connected embedded systems.
https://macchina.io
GNU General Public License v3.0
512 stars 152 forks source link

libPocoOSP.so.2 no such file or directory #90

Open stephenfrost opened 5 years ago

stephenfrost commented 5 years ago

Expected Behavior

Per wiki "Getting Started With a Raspberry Pi 3 and the Bosch XDK": "The sensors from the XDK should now be visible in the Sensors & Devices app in the web user interface."

Actual Behavior

After last step in wiki (bin/Linux/armv7l/macchina), got the following result: bin/Linux/armv7l/macchina: error while loading shared libraries: libPocoOSP.so.2: cannot open shared object file: No such file or directory

Steps to Reproduce

Following exactly the steps of the wiki ""Getting Started With a Raspberry Pi 3 and the Bosch XDK"

macchina.io Version

develop branch commit 5122e05 (Oct 2, 2018)

Compiler and Version

GNU Make 4.1

Operating System and Version

Raspbian GNU/Linux 9 (stretch)

Other Relevant Information

obiltschnig commented 5 years ago

You'll need to set LD_LIBRARY_PATH to include the platform/lib/Linux/armv7l directory. The easiest way to do this is to source the env.bash script in the macchina.io root directory. It may also be necessary to add server/bin/Linux/armv7l/codeCache to LD_LIBRARY_PATH on some distros.