Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th November 2005, 06:37 PM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
ldconfig errors (and possibly other errors)

I have Fedora Core 4 and things were working fine. Then I decided to
try to download and install Corel WordPerfect 8.0. The website I was
using mentioned I needed various libraries
(http://www.tldp.org/FAQ/WordPerfect-...ml#DOWNLOADURL
at sec. 4.2). After typing in the "ldconfig -v | grep ..." statements
as instructed, I concluded that I was missing the libc.so.5, libm.so.5,
and ld-linux.so.1 files, so I did a web search and found and installed
rpms that would give me these ... and seemed to cause a lot of trouble
in the process.

Now when I boot up, I get a couple errors:
(1) an error regarding /usr/bin/rhgb & libICE6
(2) a "fatal error" when "inserting" "acpi_cpu"

Then it goes to a textual login rather than a graphical login. If I
type "startx", there is an error loading libX11.so.6. When I did "yum
update" hoping it might fix the problems, and when I run /sbin/ldconfig,
I have a series of warnings:

(1) libc.so - not DLL or ESF library
(2) libpthread.so not DLL or ESF library
(3) include (no file)
(4) ld.so.conf.d/*.conf (no file)

My /etc/ld.so.conf file has the following lines:

include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/lib/qt-3.3/lib
/usr/lib/wine

(It probably goes without saying at this point that I am not able to
load the graphical login.)

I probably haven't done a great job describing all these mistakes, and I
greatly appreciate any suggestions that anyone may have on how to fix my
problems. Thanks ahead of time for any help.
Reply With Quote
  #2  
Old 15th November 2005, 06:56 PM
multescugeorge@ Offline
Registered User
 
Join Date: Jun 2005
Posts: 722
The rpm's you downloaded and installed were the correct ones?
If you have a 32 bit processor and you downloaded+installed a x64 package, well, it's not good.
Did you try to erase/deactivate the /usr/X11R5/lib and /usr/lib/qt-3.3/lib entry in /etc/ld.so.conf?
If that fails, then you can try this:
rpm -qa | grep some-letters_from the packages_you_installed
rpm -e what_the_above_command_gives_and_what_you_remember _you_installed
yum install what_you_just_uninstalled_without_any_numbers_in_i t
This in the hope that the troubble is from a bad rpm that you installed. the yum command should install the correct packages. And this doesn't require a graphical interface.
Reply With Quote
  #3  
Old 15th November 2005, 07:05 PM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
Quote:
Originally Posted by multescugeorge@
The rpm's you downloaded and installed were the correct ones?
If you have a 32 bit processor and you downloaded+installed a x64 package, well, it's not good.
Did you try to erase/deactivate the /usr/X11R5/lib and /usr/lib/qt-3.3/lib entry in /etc/ld.so.conf?
If that fails, then you can try this:
rpm -qa | grep some-letters_from the packages_you_installed
rpm -e what_the_above_command_gives_and_what_you_remember _you_installed
yum install what_you_just_uninstalled_without_any_numbers_in_i t
This in the hope that the troubble is from a bad rpm that you installed. the yum command should install the correct packages. And this doesn't require a graphical interface.
Thanks for the reply. I will give your suggestions a shot. I did install the right ones for my processor, I think. I tried doing some things with "yum -list installed" and "rpm -q" to figure out which I installed and delete them, but it wasn't showing up - perhaps I wasn't typing it correctly, and using "grep" which I hadn't thought of can help that.

I did not try changing my /etc/ld.so.conf file in anyway. I knew that file might be relevant based on some info I found on the web, but wasn't sure in what ways I might edit it.

If I just installed the rpms without reinstalling them (i.e., I did the "rpm -e" but not the "yum install" step), would my system be returned to what it was before I tried to install anything? Or would I possibly have overwrote other packages that were installed beforehand? I did not get any warnings about overwriting newer packages when I was doing the rpm installs. In case it makes a difference, I installed the rpms by clicking on the links through my browser and opening them with the system package installer.

I'll post back after I play around more. Thanks.
Reply With Quote
  #4  
Old 16th November 2005, 02:52 AM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
Quote:
Originally Posted by multescugeorge@
The rpm's you downloaded and installed were the correct ones?
If you have a 32 bit processor and you downloaded+installed a x64 package, well, it's not good.
Did you try to erase/deactivate the /usr/X11R5/lib and /usr/lib/qt-3.3/lib entry in /etc/ld.so.conf?
If that fails, then you can try this:
rpm -qa | grep some-letters_from the packages_you_installed
rpm -e what_the_above_command_gives_and_what_you_remember _you_installed
yum install what_you_just_uninstalled_without_any_numbers_in_i t
This in the hope that the troubble is from a bad rpm that you installed. the yum command should install the correct packages. And this doesn't require a graphical interface.
I first tried to erase the two lines from the /etc/ld.so.conf file, and then I re-ran /sbin/ldconfig, and still got errors, so I put the original file back (should I have done that?)

Afterwards I used "rpm -qa" as you suggested, and found the libc5.i386 0:5.4.38-3 library I installed. When I tried removing it using "rpm -e", I got an error "can't create transaction lock on /var/lib/rpm__db.000". I was able to delete it using yum though. At that point I still had similar errors:

When I ran /sbin/ldconfig, I got errors
(1) can't open include (no file or directory)
(2) ld.so.conf.d/*.conf (no file or directory)
(3) /usr/lib/lpthread (not DLL or ELF library)
(4) /usr/lib/libc.so (not DLL or ELF library)

The last error seems especially weird (to my informed self) since I just removed the libc5 library. (it is gone according to the "rpm -qa" line). The file /usr/lib/libc.so does exist, though, so perhaps it was unrelated to libc5.

When I try to "startx", I get an error regrading libX11.so.6.

When I do "rpm -qa | grep X11" the only rpm that shows up begins "vim", which I figure is related to the vim text editor, and nothing that I did recently that caused these problems.

I do think I installed 1 (maybe 2) other rpms aside from the libc5. I had thought I separately installed a libm5 rpm, but when I did "rpm -qa | grep libm" nothing showed up. I also installed some library that gave me ld-linux.so, but I couldn't find that using "rpm -qa" either. I'll have to do some web searching hoping I can find the pages I found before where I got the rpms that I installed. Unfortunately while my bookmarks copy over between my Linux and WinXP partitions (using the WinXP one now, obviously), my web history does not.

Update: I discoverd the "rpm -qa --last" command, and I tried to use that to find the rpms that I installed -- but I couldn't find any of them in there, except, perhaps, if "ld.so.1.xxxx" (where the xxxx is the # - I should have written it down but didn't. I think it began 1.4). Is it possible that this was something that did not come default and that I added in effort to get "ld-linux.so.1" which the WordPerfect FAQ said I needed?

Thanks!

Last edited by kcyanks1; 16th November 2005 at 04:28 AM.
Reply With Quote
  #5  
Old 16th November 2005, 08:30 AM
multescugeorge@ Offline
Registered User
 
Join Date: Jun 2005
Posts: 722
Ok, this is what you do:
give the commands:
mkdir /etc/ld.so.conf.d
cat > /etc/ld.so.conf.d/qt-i386.conf
/usr/lib/qt-3.3/lib
now press ctrl+c
cat > /etc/ld.so.conf.d/ xorg-x11-i386.conf
/usr/X11R6/lib
now press ctrl+c
ldconfig
startx
see what happens.
(This is what i have on my computer, it will not help if the packages/libraries are corrupt)
I think your problems come from: /usr/lib/libc.so (not DLL or ELF library) , *not ELF library* this is a problem.

Last edited by multescugeorge@; 16th November 2005 at 08:35 AM.
Reply With Quote
  #6  
Old 16th November 2005, 08:44 AM
multescugeorge@ Offline
Registered User
 
Join Date: Jun 2005
Posts: 722
libc.so and libpthread.so are in the package from: http://rpm.pbone.net/index.php3/stat....i386.rpm.html
install it by: rpm -ivh --force glibc-devel*
there is another package that has them, if the package above doesn't work:
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
Reply With Quote
  #7  
Old 16th November 2005, 01:41 PM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
Thanks. I do already have an /etc./ld.so.conf.d directory which includes qt-i386.conf and xorg-x11-i386.conf with the contents that you said to add. I will try installing the rpm you suggested in your next post.
Reply With Quote
  #8  
Old 16th November 2005, 05:35 PM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
I tried installing the package you suggested and still had the same problems. What I don't understand is why even though my /etc/ld.so.conf.d directory and *.conf files within that directory exist, /sbin/ldconfig fails to realize it. My original ld.so.conf file said "include ld.so.conf.d/*.conf" and I changed it to "include /etc/ld.so.conf.d/*.conf" to no avail.

I'm going to try installing the "libX11.so.6" rpm, because it seems like that has some files that have been causing errors. I'll update with what happens. Thanks for the help.

Update: I tried installing new libX11.so.6 and nothing changed. I also did a "yum update" out of desperation, and it did not help. At a couple points during the update it spit out the same errors that I get when I try to run /sbin/ldconfig.

Last edited by kcyanks1; 16th November 2005 at 06:42 PM. Reason: Update
Reply With Quote
  #9  
Old 3rd December 2005, 09:31 PM
kcyanks1 Offline
Registered User
 
Join Date: Sep 2005
Location: New York, NY
Posts: 10
Just to update for anyone having the same problem who finds this thread, I wasn't able to solve it based on the info I was able to find, so I reinstalled. I talked to someone who's a Linux expert and he said that would probably be the easiest route, and that by installing the libc5 libraries I destroyed my installation. So hopefully no one ends up in this situation! Thankfully, everything's working great now.
Reply With Quote
Reply

Tags
errors, ldconfig, possibly

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM Errors cessnadriver Using Fedora 4 16th November 2008 05:03 AM
.xsession-errors: X Error BadMatch... errors Hlingler Using Fedora 0 8th August 2007 09:28 PM
Update Errors and Errors When Installing New Software fluxxuate Using Fedora 9 25th January 2007 11:22 AM
/tmp errors flebber Using Fedora 1 2nd July 2006 03:23 PM
USB Errors... gtkuntz Hardware & Laptops 2 13th April 2006 01:22 PM


Current GMT-time: 16:51 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat