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!
Notices
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.
When I execute ./configure in the mc top level directory it tells me it can not
find glib that mc needs glib-1.2.6 or above I thought that I installed glib-1.2.6 correctly I did configure make make install... what more
how does one set the LD_LIBRARY_PATH environment variable? I edited ld.so.conf to piont to /usr/local/bin that does not work I still get the error cant find glib
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,625
Rep:
The libraries are probably in /usr/local/lib -- bin directories are for actually executables while libraries go to live in the corresponding lib directory.
This assumes bash or a Bourne style shell, which is the most commonly used Linux shell. The syntac for csh and tcsh is slightly different. If you want to make changes to an environment variable permanent accross shell sessions, you'll need too add the export command(s) to the shell startup files.
Yeah, you enter the "export ..." stuff at the prompt before compiling. As for the startup files, they should be in your home directory (~) and I know you can put stuff like this in ~/.bashrc, but you may be able to put it in ~/.profile or ~/.bash_profile instead.
this may sound like a stupid question but where are the bash shell startup files kept
and am i suposed to type that whole command LD_LIBRARY_PATH thing at the prompt befor compileing or put it in the configure script
Iam sorry I dont understand linux environment varibles
In /etc
You can try running ldconfig. Sometimes you have to do that. It doesn't hurt anything. If you have SuSE 9.x or 10 you might consider running SuSEconfig after an install. If nothing else: if a configure fusses about a package you know you installed:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.