On 18. jan. 2014 16:05, Tommi Mäkitalo wrote: > Did you run ldconfig after installing tntnet?
No I didn't. This is one area where my understanding of linux is a little sketchy. I shall check it. Edit: after running "sudo ldconfig" it works to run ecppc inside Code::Blocks also on the PI! > When the libtntnet.so > can't be loaded, this is one of 2 possible reasons. The other is, that > libtntnet.so is possibly not found in the library path. I had put the following in /etc/environment export PATH=$PATH:/USB_pihdd/cpde3/usr/bin export LD_LIBRARY_PATH=$PATH:/usr/local/lib export LD_RUN_PATH=$LD_LIBRARY_PATH The above was an attempt to make it work. And it did work from the terminal, only not within Code::Blocks. I guess that is a question about how Code::Blocks works on the PI, and not really Tntnet. > libtntnet.so is > installed under /usr/local/lib, which may not be in the standard path of > the distribution. You may need to tune /etc/ld.conf. I find it confusing that there are so many places these definitions can go. Some people suggest ~/.bashrc, some /etc/environment and now you suggest /etc/ld.conf which is new to me (and it doesn't exist on my Raspberry PI as of now). Maybe it is /etc/ld.so.conf ? It contains the confusing line: include /etc/ld.so.conf/*.conf I must admit I have some problems understanding how/where these things are to be properly set up and work. But from the above it is shown that running only ldconfig was all that was really needed in this case. Thanks again & best regards Carsten Arnholm ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
