General
cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't my Fedora load find these files?

SOLVED
Go to solution
John Collier
Esteemed Contributor

Why can't my Fedora load find these files?

I have been trying to do some updates and software loads on my little Fedora box and I have been running into pretty much the same messages time and time again.

(from mail LogWatch)

Unable to satisfy dependencies
Package openoffice.org-libs needs libICE.so.6, this is not available.
Package openoffice.org-libs needs libSM.so.6, this is not available.
Package openoffice.org-libs needs libX11.so.6, this is not available.
Package openoffice.org-libs needs libXext.so.6, this is not available.
Package openoffice.org needs libICE.so.6, this is not available.
Package openoffice.org needs libSM.so.6, this is not available.
Package openoffice.org needs libX11.so.6, this is not available.
Package openoffice.org needs libXaw.so.7, this is not available.
Package openoffice.org needs libXext.so.6, this is not available.
Package openoffice.org needs libXt.so.6, this is not available.
Package gaim needs libICE.so.6, this is not available.
Package gaim needs libSM.so.6, this is not available.
Package gaim needs libX11.so.6, this is not available.
Package gaim needs libXext.so.6, this is not available.

Now when I do a search for these files on my box, I can get the following results:

# find / -name *.so.6 -print
/usr/X11R6/lib/libICE.so.6
/usr/X11R6/lib/libSM.so.6
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libXTrap.so.6
/usr/X11R6/lib/libXaw.so.6
/usr/X11R6/lib/libXext.so.6
/usr/X11R6/lib/libXi.so.6
/usr/X11R6/lib/libXmu.so.6
/usr/X11R6/lib/libXp.so.6
/usr/X11R6/lib/libXt.so.6
/usr/X11R6/lib/libXtst.so.6
/usr/X11R6/lib/libXaw3d.so.6
/usr/lib/libbeecrypt.so.6
/usr/lib/libfreetype.so.6
/lib/libc.so.6
/lib/libm.so.6

This tells me that the files are indeed there (I looked through the directories mentioned above and found the remaining files mentioned in the error messages as well).

I have seen this exact same type of message many times recently when I have tried to either update or install many different things and it is really starting to get under my skin!

Is there a path statement somewhere that isn't correct? Where would I look to get this issue resolved?

Doing a Google search for the keywords I can think of on this issue provide WAY too many results to be of any value to me, so you guys/gals are my last real hope...


Thanks,
John
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
15 REPLIES
Martin P.J. Zinser
Honored Contributor
Solution

Re: Why can't my Fedora load find these files?

Hello John,

it looks like somehow your RPM database did not
notice that you installed a new version of X11 on your system and now thinks the libs are missing.

If you still have the Xfree RPM around, try the following

rpm -i -v --justdb

where file is the name of your Xfree RPM.

This should update the RPM database without actually performing any installation.

And just since I am paranoid, I would make a backup of my current RPM database before running this ;-)

Greetings, Martin
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

Martin,

What if the packages that you install aren't from an RPM? I can't be sure of it right this moment, but I know that I have installed some stuff in the past that was either self-compiled or simply installed from the web based packages and it is possible that this package was one of them.

Is there a way to get around this?
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Stuart Browne
Honored Contributor

Re: Why can't my Fedora load find these files?

Then if you're sure you've got the libraries, you'll just have to ignore dependancies whenever you want to install an X-based application that requires X-libs.

But what Martin is suggesting is that you grab the X RPM's from your install CD's, and force it to just do the RPM Database entries for them, to 'pretend' that you've installed your X using the RPM's. This will then satisfy the dependancy tree's in future install's.
One long-haired git at your service...
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

OK,

Two questions go with that idea then.

1: Won't the X RPMs from the install disks be somewhat different than the ones that were installed from the other sources?

2: If not, then would I just simply search the install disks for the RPM file in question and then point to it? (how would I know it when I saw it?)

What I was lead to believe was that most every configuration parameter in Linux was stored in a flat text-like file. If that is truly the case, then shouldn't it just be possible to 'massage' the correct file with the path information to 'correct' this location issue?

I hate to think that I will be forced to use nothing but RPM formatted installs for then entire life of my Linux box...
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Stuart Browne
Honored Contributor

Re: Why can't my Fedora load find these files?

No, the RPM's are definately not flat-text, they are DBM's (from memory, DBM4 to be more exact).

Usually, if you start with RPM's, it's best to stick with RPM's.

Once you fall of the RPM path, maintenance becomes a headache as you have to remember what you have, and have not updated manually. The problem's you've run into is a by-product of not sticking to all-rpm's.

Now, that being said.. You've manually updated one of the major componants (X), alot of things depend upon beleiving the libraries are installed. As the RPM database doesn't think they are, it gets confused. What you can do however, is grab the X RPM's of your install CD's, and just do the database updates (as Martin suggested), thus fooling the system to beleive you've installed the X RPM's, and thus satisfying new RPM install's dependancy tree's.
One long-haired git at your service...
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

OK,

I have heard Martin's suggestion and I understand that Stuart supports this suggestion. This makes it a feasible option in my head.

The questions that I asked above ( #1 & #2) in my last post to this thread still apply to this situation.

The last thing I want to do is to muck things up even more by using the incorrect RPM information.

In my mind, if the RPM info from the Install media corresponded with the structure of the new package load, I wouldn't be having this issue right now. Of course, my mind has been proven to contain MANY flaws in it from time to time.

Is this one of those times? Can someone explain where my logic goes wrong on that?


Thanks again,
John
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Alexander Chuzhoy
Honored Contributor

Re: Why can't my Fedora load find these files?

Sometimes in situations like this simply running "ldconfig" command helps.It configures dynamic linker run-time bindings.
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

Alexander,

That suggestion seems a little easier than the other to someone like myself so I am willing to give it a try first.

One question though. Would you suggest simply running something like

ldconfig -v

or do you see one of the other options being better?

Maybe something along the lines of

ldconfig -vr root

What would you suggest?
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Stuart Browne
Honored Contributor

Re: Why can't my Fedora load find these files?

'ldconfig' will update the 'ld.so' library caches.

RPM doesn't rely upon this for seeing if a given library is installed.

Now, as for questions #1&2..

The layout and content of the XFree86 RPM (the core of it at least) will have a copy of the same set of 'files' as the manually-installed version of X that you did. You can manually walk through and confirm this if you want by using 'rpm -qlp XFree86-.rpm' to get a list of the files (the '-p' means use package file, rather than the database).

By doing the '--justdb' thing, you're just telling the RPM database that those files are on the system, and making it beleive they are from the RPM.

It's a white-lie to the RPM database esentially. You know the files are there. You know they are good. RPM doesn't.
One long-haired git at your service...
Martin P.J. Zinser
Honored Contributor

Re: Why can't my Fedora load find these files?

Hello John,

sorry for coming back late to the dance. The basic structure of the layout of your X11 libraries is independent of the way you installed them (build from source or extracted from RPM), so you just make sure that RPM does get synched again with what you actually have installed.

And just because I am paranoid, I would do a backup of the files in /var/lib/rpm for safety ;-)

Greetings, Martin
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

Martin,

Don't worry about coming back late to the dance. It's my party and I stepped away from it for a while as well :-P

Now for a quick catch-up on what I have done since my last entry and how it did/didn't work:

After placing my last question on exactly what syntax to use with the ldconfig command and receiving no answer in my patience limit (some days longer than others), i tried running it with simply the -v option. Many things scrolled across the screen and it was an impressive site to a newbie like me. However when all the smoke cleared and I tried the up2date again it still returned the same errors. This supported Stuart's statement even before he made it.

Now, to follow along with Martin's original suggestion of going back to the install media and, as Stuart has explained, telling the system a bit of a white lie (which I have NO problems with). I'm guessing that I should be able to simply search through the install media one disk at a time for the XFree86*.RPM since I am not familiar with enough with them to know it's location by heart. If this is a true statement, then the rest of it should be pretty simple.

One quick point of clarification on that command. Since this will be on a CD, I'm assuming that the system probably won't know exactly where to find it without some direction. Will the actual command be something more like:

rpm -i -v --justdb

or am I trying to over-complicate things?
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

OK,

If things weren't complicated before, they are now (at least for me).

I found the Xfree86*.rpm files on my install CD. The problem is that there are 8 (eight) different ones. How do I determine which of the 8 to use for this little white lie I'm going to tell to the box?

BTW, the ones that I found are:

# find /mnt/cdrom -name XFree86*.rpm -print
/mnt/cdrom/Fedora/RPMS/XFree86-Mesa-libGLU-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-xauth-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-truetype-fonts-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-xfs-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-font-utils-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-Mesa-libGL-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-libs-4.3.0-42.i386.rpm
/mnt/cdrom/Fedora/RPMS/XFree86-libs-data-4.3.0-42.i386.rpm

Pointers please??


Thanks,
John
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Stuart Browne
Honored Contributor

Re: Why can't my Fedora load find these files?

There'll be more on another CD :)

But i'm picking you'll just need to do this with the XFree86-libs RPM.

And yes, fully-path as you thought.
One long-haired git at your service...
Martin P.J. Zinser
Honored Contributor

Re: Why can't my Fedora load find these files?

Hello John,

was (actually am) sick with a flu :-(.

The package you want is /mnt/cdrom/Fedora/RPMS/XFree86-libs-4.3.0-42.i386.rpm

To see what is in the package use

rpm -q -l -p

Greetings, Martin
John Collier
Esteemed Contributor

Re: Why can't my Fedora load find these files?

Sorry guys, I almost forgot about this one. My life has moved on since then.

I have some good news and some bad news. The good news is that this issue seems to be resolved. The bad news is that I blew the box up in the process and ended up reloading. The damage had already been done by the time Stuart had put his last entry in.

Just for everybody else's benefit, I should tell the person searching for fixes to an issue like this that they should more likely than not follow the great advise provided by the gentlemen above and NOT on a little package called 'apt-get' (which is what prompted my last reload). While my approach to it promised big results, it didn't deliver the way one would have hoped.

Thanks to each of you for your input. I will keep all of this in mind for the next similar issue I come across.


John
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855