On Mon, Jan 18, 2016 at 7:00 PM, Dean <dean.b...@gmail.com> wrote: > My BBB setup is as follows ... > Linux beaglebone 4.1.12-ti-r29 #1 SMP PREEMPT Mon Nov 9 22:46:19 UTC 2015 > armv7l GNU/Linux > BeagleBoard.org Debian Image 2015-11-12 > > For whatever reason I cannot access a library (i.e. libEBBLibrary.so) and I > am not sure what I am missing. Might someone offer a suggestion on where I > am going wrong or what I can do to rectify it?? Thanks in advance who those > that reply. > root@beaglebone:~/exploringBB/chp09/LCDcharacter# sudo sh -c "echo > BB-SPIDEV1 > $SLOTS" > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# cat $SLOTS|grep SPI > > 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1 > > > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./build > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp > > ./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot > open shared object file: No such file or directory > > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# g++ LCDApp.cpp > ../../library/libEBBLibrary.so -o LCDApp -I "../../library" > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp > > ./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot > open shared object file: No such file or directory > > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# echo $PATH > > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > > root@beaglebone:~/exploringBB/chp09/LCDcharacter# export > LD_LIBRARY_PATH="../../library/libEBBLibrary.so:$LD_LIBRARY_PATH" > root@beaglebone:~/exploringBB/chp09/LCDcharacter# ./LCDApp > ./LCDApp: error while loading shared libraries: libEBBLibrary.so: cannot > open shared object file: No such file or directory
Well "No such file or directory".. and it's not available: https://packages.debian.org/search?searchon=contents&keywords=libEBBLibrary.so&mode=exactfilename&suite=stable&arch=any So, you better check where you built "LCDApp", and fix your error.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.