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.
Hello,
I'm trying to install tar.gz package anjuta in Mandrake linux.
I'm following instructions but when I type ./configure it start process and report error:
cnfigure error Library requirements (glib 2.0 >= 2.4.0)not met.
It also suggest me to adjust PKG_CONFIG_PATH env. variable if I'm using libraries in nonstandard prefix (whatever that means). I'm using GNOME, how to fix problem, is there any way to install that glib?
You didnīt say what distro you are using, but this error is telling you that your compiler library is too old (glibc). If you will post back what distro you are using we can instruct on how to install it.
I'm not sure which package manager mandrake uses, but I believe that distro is new enough to handle the newest glibc libarary. You will alleviate those errors when you compile with the newest glibc.
Ok, this is what I have done so far:
If I understood error message correctly I have glib 2.0 version and anjuta 2.0.1 software needs 2.4, so I have downloaded version of glib-2.4.5 in tar.gz format and I place tar.gz file in /home/asim directory.
I used tar xvfz glib-2.4.5.tar.gz to unpack,
then cd glib-2.4.5
and then ./configure and after that make
Everything went without errors. Of course, last step was: make install and after that I thougth that everything will be OK.
Now I enetr to anjuta-2.0.1 directory and again I type: ./configure but there is same error:
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0... Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
configure: error: Library requirements (glib-2.0 >= 2.4.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
PKG_CONFIG_PATH="/home/asim/glib-2.4.5"
but problem stayed
I noticed that there is a file named glib-2.0.pc in /home/asim/glib-2.4.5 and tried to do this:
So my conclusion is:
I successfuly installed glib but in folder /home/asim/glib-2.4.5 so it didn't make links with pkg-config.
Now what should I do?
Maybe to repeat same procedure, but to place glib in tar file in /usr before start unpacking or...?
Can you give me advice what to do?
I didn't know this linux will become such a nightmare
Ok guys, here's what I've done so far.
I have downloaded the latest glib package glib-2.10.3 in tar.gz archive.
I placed that archive in /home/asim directory and extracted, configured and instlled without any error messages. So I thought I could install anjuta-1.2.4a without any problems, but error about finding glib-2.0 is still there. I found that file glib-2.0.pc in /home/asim/glib-2.10.3 exactly where I have installed glib according to instructions. Contents of that file (glib-2.0.pc) is the following:
SO I guess my problem is that pkg-config somehow cannot find that lib file.
My question is how to set pkg-config look for glib-2.0.pc in /home/asim/glib-2.10.3 directory where it is now placed?
Please help if you cane since this is becoming very frustrating. It seems I'm not capable to install one ordinary software package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.