4,199
edits
Changes
From IGEP - ISEE Wiki
no edit summary
Go to:$/svn.hylands.org/linux/gpio/lib/. libgpio.so will be found here.
<pre>export LD_LIBRARY_PATH=/root/svn.hylands.org/linux/gpio/lib/
</pre> Check that libgpio.so is linked correctly. Go to:$/svn.hylands.org/linux/gpio/app, gpio program will be found here. Type next command: <pre>ldd gpio </pre> ldd command list program dependencies and show its paths. The result will be similar than this: <pre>root@localhost:~/svn.hylands.org/linux/gpio/app# ldd gpio libgpio.so => /root/svn.hylands.org/linux/gpio/lib/libgpio.so (0x40197000) libc.so.6 => /lib/libc.so.6 (0x401a0000) /lib/ld-linux.so.3 (0x4008a000)</pre>
=== Execute app<br> ===