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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Right essentially I am having this problem and can anyone help me.
I intstalled glib 1.2.10 after tarring it and running the usual ./configure , make , make install without incident.
Then I tried to install gtk+ 1.2. and run into a glib >= 1.2 required glib 1.2.10 found etc. and it didn't install.
I read from the GTK+ site that I can install glib 1.2 and gtk+ 1.2 as well as higher GTK+ and glib being 2.4 which I wanted to do.
Now here is the problem, I was able to compile and install glib 2.4.0 but when I run "glib-config - - version"
I get a 1.2.10 message and obviously NO GTK...
If I have been able to install glib 2.4.0 without getting a error message then why when I try to find what version of glib I have installed do I only get 1.2.10 where is glib 2.4.0...which should be installed as I got no error message when I ran ./configure etc. with glib 2.4.0
And why does gtk+ 1.2 halt when clearly I have glib 1.2.10 installed say ing that i need glib >= 1.2 ??????
What is going on... I believe I can edit a configuration path but after copying and pasting said message into emacs editor I get nothing ie nothing to edit.
I chasing my own tail.
I relatively new to linux and its ticking me off no end.. can anyone help...
Apps that are designed for gtk 1 and glib 1 wont work with gtk2 and glib2 because the two are not compatible. They can however both be installed on the same system and coexist fine.
I'm wondering why you're compiling it on your own and not installing from RPMs. But if you're doing it, you probably have a reason.
Where have you installed your glib? Probably somewhere in /usr/local. Do you have /usr/local/bin and /usr/local/lib in PATH (run 'echo $PATH' to check)? Also, see if gtk configure has --with-glib option (I think it has, you get list of options using './configure --help'). If it has it you can run it
./configure --with-glib=/usr/local
or something similar to point to the right glib.
When installing libraries, make sure that the path to the library is included in /etc/ld.so.conf, usually /usr/local/lib for your own compiled libraries
Then as root run the command ldconfig (or /sbin/ldconfig) so linux will be able to find the library. The first few times I installed libraries by compiling the source code I got the same problem of the my target program not being able to find the library even though it compiled properly
Just a quick thank you to everyone. To answer maya ..I did use the urpmi update to add principally ethereal to my mandrake distro but I got a corruption on downloads.
However, I have gone thru everything and used ldconfig after each dependency and have compiled ethereal from source.
Learning loads and feeling chuffed with myself and to everyone thanks again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.