LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   libc.so.6 problem (https://www.linuxquestions.org/questions/linux-software-2/libc-so-6-problem-55978/)

ih8linux 04-20-2003 02:46 PM

libc.so.6 problem
 
Hi

I am trying to get libc.so.6 on mandrake 9. I have downloaded the package "glibc-2.3.1-10mdk.i586.rpm" and tried to install it but get this message:

[root@localhost Download]# rpm --install glibc-2.3.1-10mdk.i586.rpm
error: failed dependencies:
initscripts < 6.91-18mdk conflicts with glibc-2.3.1-10mdk

What is initscripts? How do i get rid of it to stop it conflicting? I have been trying to install Ogle (among other things) and so far it's taken me a week to install GTK+2 because of so many problems, and now i'm faced with this!

Please help!

Tim.

:mad: :scratch:

acid_kewpie 04-20-2003 02:56 PM

Quote:

How do i get rid of it to stop it conflicting?
do you not think that just maybe it's there for a reason....! :D if you just got rid of things that got in the way your system won't last more than 10 minutes! initscripts is a set of standard scripts and functions that are used to boot the system, and they are very very important. that's all by the by though as you just need to upgrade them too... http://fr2.rpmfind.net best place for mdk rpm's.

ih8linux 04-20-2003 03:27 PM

I have downloaded version 7.06 of initscripts, and installed it (at least i think it's installed) but i still get the same error message. Any ideas?

I have to say all this hassle with installing makes me want to format my linux partition and stick with Windows XP......at least on there it makes some sense! And that's saying something for Microsoft! You don't get any of this dependancy/conflict crap for a start!

acid_kewpie 04-20-2003 03:56 PM

yes you don't get that in windows, but then you don't get BSOD in linux... everything has a price, and that's a debate that's been covered plenty of times here already.

check rpm -qa | grep initscripts

to see what version is installed, and make sure you upgrade the packages, and NOT just install them

rpm -Uvh glibc.rpm initscripts.rpm etc...

but then again in your particular case you're trying to udate libc.so.6, which has been in extenence for all of the glibc-2.x at least. is it actually complaining about not having defined symbols in it such as GLIBC_2.3.1 or such like?

also, being on mandrake you should be taking real advnatage of the urpm system, rather than just the plain rpm interface, this will automatically install dependencies for you based on what's available on your distribution cd's etc... so you're actually going about it the hard way under mandrake.

normally just running "urpmi gtk+2" would install everything needed in one go. i thought that gtk+2 would have ben isntalled by default anyway.

ih8linux 04-20-2003 04:10 PM

Thankfully BSODs are a thing of the past in XP, however you do get the irritating "Do you want to send this error report to Microsoft" dialog box when a program fails.

libc.so.6 is only one of the failed dependancies it comes up with but the libc.so.6 one says GLIBC_2.3 also.

I will try the urpm thing if i can find it :-)

I would have expected GTK to be installed on such a new distro as Mandrake 9.0, but alas it seems not. It's pretty annoying i have to say.....it's just as well i didn't have to pay Microsoft style money for it!

acid_kewpie 04-20-2003 04:13 PM

well it's definitely on the distro itself, i guess you just didn't tell it to install any gtk2 based apps, or even gnome2 i guess... a kde man i'd assume...shame...shame

cli_man 04-20-2003 04:34 PM

I hate to break you bubble ih8linux But BSOD's are far from gone in windows XP, we get several per day on our XP Machines, normally at the worst times of course, they aren's as often as in ME but they are worse too. I have had server systems come into work that after a BSOD I have to run chkdk from the recovery console just to get the computer to run again.

JunLitsu 04-20-2003 04:56 PM

you know you can turn off error reporting in xp.

ih8linux 04-20-2003 06:25 PM

Cli-man: You have a wierd version of XP then, i have never had a blue screen in a year and a half of using XP Pro.

I am a KDE man yes, should i start using Gnome?? What are the benefits over KDE?

cli_man 04-20-2003 08:05 PM

No not really you just must be lucky, I work on these things every day and, well I have had at least 40 computers running xp blue screen, They do take more to blue screen than like 98 or me but they will.

matt3333 04-20-2003 11:11 PM

ih8linux do u actually think mircrosoft reads thoses reports????? if u think they do ur on drugs bill gates is too busy trying to make money and fighting linux off I switched to linux 1 year ago and i tell u i will never go back ever!!!!! like sometimes u wanna cuz of the damn erros in mdk but once u get it working it makes u wanna try more things i was soo happy once i got my server running now im trying out php for my first time at my college there running windows nt servers and the suck @#% i get the blue screen like ever once in a while and my professor has to post date assignments cuz of them
Have fun

Matt3333

mhearn 04-21-2003 02:08 PM

1) You already have libc.so.6, all Linux systems do. Look in the /lib directory.

2) If it took you a week to install GTK2, then you are almost certainly installing things wrongly. Mandrake 9 should already have GTK2, as I believe they use it for their configuration applets. Run this command:

/sbin/ldconfig -p | grep gtk2

to find out.

3) You should never upgrade glibc yourself. It's a bad idea.

4) The reason you're getting a message about needing a new libc is because you're installing a package compiled on a newer version of Linux, most likely in your case MDK9.1 - for reasons I won't go into here (but some of us are working on solving them) that won't work. You'll need to compile from source.

To do that, install all the developer libs for gtk/gnome2, using the Mandrake setup tools. Then extract the source tarball (.tar.gz) file, and do the usual configure, make, (switch to root) make install cycle. Post here again if you run into problems.

Software installation sucks, we know this, and are working to improve it. Until then, if there isn't an RPM for Mandrake 9.0 exactly (other versions will not do), you'll need to compile from source.

Last thing. If you've been upgrading glibc and initscripts, your machine might be broken beyond repair - unlike Windows, Linux allows you to control each component of the system using the package manager (for security updates etc), but it does make it easy to accidentally blow things up if you're not aware that glibc is a core system component. If your machine is acting wierdly, or people here cannot understand why something is not working, reinstall and start again. Next time, only use RPMs for your distro.


All times are GMT -5. The time now is 02:44 AM.