Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
When I compile some program and it has a dependency provided by some library somewhwere, now when it compiles(when I type make) do I have to make sure that library is also in the LD_LIBRARY_PATH environment variab;e in the .csh/.tcsh.bash? , I would really like to understand this concept, any sites to this would also be very helpful.
that variable is an additional way to add a potential library location to the sytem search path, it is only a temporary soution really, and if possible the path should be listed in /etc/ld.so.conf and then ldconfig should be run
but what are the consequences of putting many libraries into the ld.so.conf file?, does the environment variable LD_LIBRARY_PATH erase after rebooting?, basically what are the differences between using one over the other?
well as with any variable, LD_LIBRARY_PATH will only exist within the scope which you create it. so when you reboot it's gone. ld.so.conf is not for libraries itself, but directories contating libraries, there shouldn't ever be that many entries in there.
Thanks Chris, So to be completely clear I set the LD_LIBRARY_PATH environment variable in whatever shell I'm using(i.e /root/.csh) and when the program compiles it will find the above environemnt variable and hence find the libraries it is looking for and so when I reboot the entry in /root/.csh will be gone but I wouldn't need it because that was only used for the one time compilation. Just confirm with me, and thanks again.