Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
OK, I'm a Linux newb, and I've been trying to install some software that needed an Up-to-date version of GLib, since I was using an old version (whatever it was that came with Mandrake 9.0). I downloaded glib 2.2.3, and it compiled fine. The problem was that when I did ./configure on the software I was trying to install, it now gave an error saying there were two different versions on GLib, so it couldn't work.
I found information about this on the net, and it said to completely uninstall all versions of GLib, then install the newest one. I did this, and although Glib (seemingly) installs fine, software isn't finding it, leading to quite a few problems. Below is an example error while trying to compile software, but I'm getting problems trying to run software as well.
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at (url removed).
I tried editing /etc/ld.so.conf, but I'm not sure if I put the right thing in. I also don't know how to edit the environment variable, so if that's all that needs doing, could someone point me in the right direction?
this is a common problem I am not an expert but this might help. Type at the CLI
A) whereis glib2.3.3
and B) echo $PATH
if where glib is not in your path change your path in your profile or .profile or whereever it is in mandrake (look in /etc/.
When you have changed it you need to type
source /etc/profile(whatever) so the changes take effect.
Good luck and I hope someone can provide a better explanation.
Oh dear, this is a messy can of worms. First thing, whatever changes you made to /etc/ld.so.conf , it would probably be wise to change it back, it defines the default folders that /sbin/ldconfig searches for shared libraries. Also, glib is a shared library that is linked to by many other graphical programs. If you deleted an older version it is quite likely that programs that were linked against it won't work anymore. You may be able to recompile them against your new glib-2.2.3 but it may be simpler to spin your CD's and reinstall Mandrake. Did you install glib-2.2.3 with an .rpm or did you compile it from source? If you did it from source and ran ./configure without specifying --prefix= It will have installed in the default location, /usr/local, and you should be able to get passed your problems above by setting these variables temporarily before you configure gaim