Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-27-2006, 10:35 PM
|
#1
|
LQ Newbie
Registered: May 2005
Location: P.R.China
Posts: 10
Rep:
|
always problem in installing libc.so.6
i was trying to install a gtk+-1.2.10-52.fc6.i386.rpm, but it announced me
"Failed dependencies:
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
"Failed dependencies:
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[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.6/alinux/elf/dl-allobjs.os] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.6/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: 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
"glibc-common-2.3.4-2.9
glibc-headers-2.3.4-2.9
glibc-kernheaders-2.4-9.1.87
glibc-2.3.4-2.9
glibc-devel-2.3.4-2.9
"
|
|
|
05-27-2006, 11:03 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300
Rep:
|
Try installing all of the development packages. That should provide you with the libraries you need.
|
|
|
05-28-2006, 09:40 PM
|
#3
|
LQ Newbie
Registered: May 2005
Location: P.R.China
Posts: 10
Original Poster
Rep:
|
thanks for your advice
I tryed many different glibc packages, but it still can not work out.
more over, i found i can't upgrade my system without the libc.so.6
can u give me some further advices?
|
|
|
05-28-2006, 09:55 PM
|
#4
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep:
|
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.
|
|
|
05-29-2006, 03:30 AM
|
#5
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
Hi
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.
Hope this helps
Bob
|
|
|
05-29-2006, 05:15 AM
|
#6
|
LQ Newbie
Registered: May 2005
Location: P.R.China
Posts: 10
Original Poster
Rep:
|
thanks a lot!
I found another GTK+ rpm, and finally the GTK installing problem was worked out.
BUT after I installed gtk+-1.2.10-39, the system still announced me that
"configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***"
I used the rpm -q command, and I got the result "gtk+-1.2.10-39"
I think may be it is due to some environment variable problem.
can any of u tell me how to fix it?
|
|
|
05-29-2006, 05:41 AM
|
#7
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
Do you have more details on the error reported by "configure"?
Also, since you've installed gtk+ (what you wanted in the first place), why are you still
running a "configure" tool? What else are you trying to compile from source & install?
I doubt that your environment vars have anything to do with the error. More likely, rpm installed gtk+ in a place that's different from where "configure" expected to find it.
|
|
|
05-29-2006, 05:48 AM
|
#8
|
LQ Newbie
Registered: May 2005
Location: P.R.China
Posts: 10
Original Poster
Rep:
|
thanks for your attention.
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
|
|
|
05-29-2006, 06:10 AM
|
#9
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
Try doing a:
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:
Code:
rpm -q --filesbypkg gtk+
That'll show you which files where installed from the gtk+ rpm.
|
|
|
05-29-2006, 10:28 AM
|
#10
|
LQ Newbie
Registered: May 2005
Location: P.R.China
Posts: 10
Original Poster
Rep:
|
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
|
|
|
05-30-2006, 03:17 AM
|
#11
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
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
rpms.
Try finding out what was installed in the gtk and gtk+ rpms, by using:
Code:
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".
Maybe a
might help too.
|
|
|
11-27-2007, 02:47 AM
|
#12
|
LQ Newbie
Registered: Oct 2003
Posts: 13
Rep:
|
gtk-config is in the gtk+-devel package
Last edited by antus; 11-27-2007 at 02:48 AM.
|
|
|
All times are GMT -5. The time now is 10:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|