Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-24 Thread Dean
I decided to close this post and repost as an strace question as it is more to the point. Thanks William for directing my attention to strace. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard"

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-24 Thread Dean
I ran strace and it generated the following output. I am not sure exactly what it all means. It seems to me that some files are missing. I am unclear at this point in how to obtain the missing files? Are the missing files generated by make file or do they come from somewhere else? At any rate i

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread Dean
It turns out that #include is not required. I was using the usleep function earlier. Regardless the end result is the same. No go. Everything would indicate that although it compiles and builds it fails to come through on the link. Back to reading. root@beaglebone:~/exploringBB/chp09/LCDcharac

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread Dean
I now know what is going on, but I'll be damned if I know how to resolve it. Prior to adding #include the usleep function would not take. Hopefully a coding guru might be able to help me out on this one as I am novice when it comes to coding. http://stackoverflow.com/questions/34184743/kernel

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread William Hermans
> > *Because it's wrong. LD_LIBRARY_PATH is executation time, not link time. > Link time is -L /path/to/lib( gcc / g++ )* > What's more, *every* user should have /usr/lib in their path . . . Anyway, read this, and learn: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html On Tue, J

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread William Hermans
> > *Why do you think it's wrong? The point of LD_LIBRARY_PATH is to* > * collect all the places you might have shared libs, whether system or* > * application or private.* > Because it's wrong. *LD_LIBRARY_PATH *is executation time, not link time. Link time is *-L /path/to/lib*( gcc / g++ ) http

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-19 Thread Mike
On 01/18/2016 11:00 PM, Dean wrote: All said something else is going on here. libEBBLibrary.so is definitely there yet it does not take. I should mention that namespace std is being used to make updates on code easier. See code listed below. root@beaglebone:~/exploringBB/chp09/LCDcharacter# e

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Dean
All said something else is going on here. libEBBLibrary.so is definitely there yet it does not take. I should mention that namespace std is being used to make updates on code easier. See code listed below. root@beaglebone:~/exploringBB/chp09/LCDcharacter# export LD_LIBRARY_PATH="~/exploringBB

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Mike
On 01/18/2016 10:14 PM, Przemek Klosowski wrote: On Mon, Jan 18, 2016 at 9:57 PM, William Hermans wrote: Also, using LD_LIBRARY_PATH in this manner is just flat out wrong. If you have a shared library file, put it in the correct directory to begin with. On Mon, Jan 18, 2016 at 6:24 PM, Mike w

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Przemek Klosowski
On Mon, Jan 18, 2016 at 9:57 PM, William Hermans wrote: > Also, using LD_LIBRARY_PATH in this manner is just flat out wrong. If you > have a shared library file, put it in the correct directory to begin with. > > On Mon, Jan 18, 2016 at 6:24 PM, Mike wrote: >> >> export LD_LIBRARY_PATH="../../li

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Mike
On 01/18/2016 09:57 PM, William Hermans wrote: Also, using LD_LIBRARY_PATH in this manner is just flat out wrong. If you have a shared library file, put it in the correct directory to begin with. On Mon, Jan 18, 2016 at 6:24 PM, Mike > wrote: root@beaglebone:~/

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread William Hermans
Also, using LD_LIBRARY_PATH in this manner is just flat out wrong. If you have a shared library file, put it in the correct directory to begin with. On Mon, Jan 18, 2016 at 6:24 PM, Mike wrote: > On 01/18/2016 08:00 PM, Dean wrote: > > *My BBB setup is as follows ...* > Linux beaglebone 4.1.12-t

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Mike
On 01/18/2016 08:00 PM, Dean 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

Re: [beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Robert Nelson
On Mon, Jan 18, 2016 at 7:00 PM, Dean 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 > a

[beagleboard] error while loading shared libraries BBB 4.1.12-ti-r29

2016-01-18 Thread Dean
*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 s