Export LD_LIBRARY_PATH= <path to iotivity>/out/linux/x86_64/release/ Then run it.
From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Li, Hao H Sent: Friday, March 27, 2015 9:34 AM To: iotivity-dev at lists.iotivity.org Subject: [dev] error while loading shared libraries: liboc.so: cannot open shared object file: No such file or directory Hi, I tried the steps from https://www.iotivity.org/documentation/linux/getting-started After scons build, I ran iotivity-0.9.0/out/linux/x86_64/release/resource/examples$ ./simpleserver. While it shows./simpleserver: error while loading shared libraries: liboc.so: cannot open shared object file: No such file or directory Does anyone know how to fix it? Thanks! Li Hao Best Regards Email:hao.h.li at intel.com<mailto:hao.h.li at intel.com> Software and Service Group Intel Asia-Pacific Research & Development Ltd. Tel: 86-21-61167039 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150327/4fb1f8fd/attachment.html>
