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.
i was trying to install a gtk+-1.2.10-52.fc6.i386.rpm, but it announced me
libc.so.6(GLIBC_2.4) is needed by gtk+-1.2.10-52.fc6.i386"
then i found the glibc-2.3.5-10.i386.rpm in rpmfind.com and tried to install it, it had this error
glibc-common = 2.3.5-10 is needed by glibc-2.3.5-10.i386
glibc > 2.3.4 conflicts with glibc-common-2.3.4-2.9.i386"
so i download the glibc-common-2.3.5-10.i386.rpm and tried to install it. it has the error
"error: Failed dependencies:
glibc < 2.3.5 conflicts with glibc-common-2.3.5-10.i386"
i also tried to rebuild a source rpm"glibc-2.3.6-3.src.rpm"
this error occurs
"/usr/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
make: *** [/usr/src/redhat/BUILD/glibc-2.3.6/alinux/elf/dl-allobjs.os] Error 1
make: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.6/elf'
make: *** [elf/subdir_lib] Error 2
make: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.6'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.17444 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.17444 (%build)
it seems that i cant intall the file
whatever can i do to fix the problem?
my system is RHEL4
i used the command "rpm -qa|grep glibc"
it had the result
I do not like recommending a Linux distribution that will fix your problems, but Gentoo is golden when these problems occure in other distributions.
If you still want use RHEL 4, try using apt-get or yum to help you gather the dependencies. If it can gather the dependencies, I recommend backing up your installation. When something goes wrong during or a program glitches more than you think from the upgrade, then you can restore your system from the backup and forget the upgrade. Hopefully, you test the backup before upgrading the library.
I had this same problem a while back. What is happening is that you are trying to install software that is not meant for your distrobution (my problem occurred when I tried to install software for FC5 in FC4). libc.so.6(GLIBC_2.4) only recently was released for FC5. If you will notice the version of GTK you are trying to install is for fc6, which is still in development and will be for some time yet as FC5 was only released in March. Many of the freatures of RHEL4 are the result of testing in FC3 and FC4. Fedora is considered the testing ground for RHEL and many of the components of the FC5 will appear in the next release of RHEL.
here are the details:
I was trying to install xmms-1.2.10.tar.gz
when i was using the ./configure command, i got the error
"checking for gtk-config... no
checking for GTK - version >= 1.2.2... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***
but I do installed gtk+-1.2.10-39.
thanks in advance
That should tell you where the gtk-config utility is installed.
Setting the $GTK_CONFIG environment variable to that full path should do the trick.
As an alternative solution, you could play around with the "-prefix" option of "configure".
ie if gtk+'s binaries are installed in
/usr/bin, you could specify -prefix=/usr and/or put /usr/bin in your $PATH, as suggested.
To find out where rpm installed the gtk+ programs, try doing:
rpm -q --filesbypkg gtk+
That'll show you which files where installed from the gtk+ rpm.
The problem has drove me crazy.
I tried "whereis gtk-config", but no path return back.
then I tried "rpm -q gtk", I can got "gtk-1.2.10-885"
and I tried "rpm -q gtk+" and got " gtk+-1.2.10-39"
I also tried "whereis gtk", I got "gtk: /etc/gtk /usr/lib/gtk". I explored these two folders, I can't find the gtk-config either, but i find a file "gtkrc", whose type is "GTK CONFIGURATION". then i tried "export GTK_CONFIG=/etc/gtk/gtkrc ". However, i still got erorrs
The /etc/gtk/gtkrc file is probably a config file containing settings for GTK. It's not a program in itself, so it
can't be the gtk-config program you're looking for.
gtk-config should be in /usr/bin. At least, it is on my old RedHat 8 box.
rpm -q gtk yields nothing for me.
rpm -q gtk+ says that gtk+-1.2.10-22 is installed, which is older than your version.
Your "whereis gtk" output worries me a bit. It only indicates a gtk library and a config directory (under /etc). It doesn't find any
programs (ie under /bin, /usr/bin, etc). I'm thinking that maybe you don't have the complete GTK+ package and thus may need to install some
Try finding out what was installed in the gtk and gtk+ rpms, by using:
rpm -q --filesbypkg gtk
rpm -q --filesbypkg gtk+
The first will tell us what's in the gtk rpm (I don't have it installed, so I'm wondering if it can conflict with your gtk+ installation).
The second will check the files installed from your gtk+ rpm. Post it's output, or try to find any executable programs
(ie in /bin, /usr/bin), especially keeping an eye out for "gtk-config".