?
Solved

rpm on non RedHat system interacts with ldconfig

Posted on 1997-06-19
3
Medium Priority
?
348 Views
Last Modified: 2013-12-15
I am upgrading a linux 486 system running Slackware 3.0 and kernel 1.3.59 with umsdos, which I need because of the hard disk configuration.

I have used rpm to upgrade libc.so.5 and tell rpm that libdb.so.2.0.0 was present.

As a result ldconfig now reports errors.

I have more details of the problem available.

I want to know

1.  How to use rpm without messing up my system
2.  How to get the system to recognise the new version of     libc.so.5
3.  What further actions and upgrades are needed.

Please note that telling me to use RedHat is not an answer unless they will support use of umsdos.
0
Comment
Question by:chemical
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:chemical
ID: 1628271
I now know that part of the problem is a bug in an out of date version of ldconfig, so I will update this.  I have also found the GCC HOWTO for linux which explains a lot about how dynamic loading and why things are organised the way they are.

I have details of the error messages available.

I still want to know what action to take to get a stable system.
0
 
LVL 4

Accepted Solution

by:
feenix earned 200 total points
ID: 1628272
First of all, RedHat has umsdos support. Second, why are you using so old kernel and a development version?

The problems may be because the links to libc are old and ldconfig can't find them. Try to remove all libc.so -files that are links and then run ldconfig. That way it should fix the links and everything should work just fine.
0
 

Author Comment

by:chemical
ID: 1628273
Thank you, feenix.  Answers to your questions.

1.  I boot using ldconfig from DOS direct to a umsdos root.  I have no unix partition.  My BIOS will not support any other setup at present.  I don't think RedHat regard this as something they are interested in.  Their kernel does support umsdos file system and they have an rpm for umstools, on which basis I can use the kernel they supply in their distribution.

2.  The kernel I am using is the one advised by Jacques Gelinas, who wrote umsdos, at the time I installed.  After I had tweaked it for my CDROM and fixed a bug it has worked well.  I now want to upgrade it to a 2.0.x version.  I have a CDROM RedHat distribution where the tools are all in rpms, so my first step is to install rpm, which needs also libc etc.  So I am installing what rpm asks for and this is conflicting with the old ldconfig.  I could put in a new ldconfig but which one?  There is a 1.7.14 in the RedHat and a 1.9.something also available.

When I get error messages saying that it is trying to unlink usr/lib I get cautious and ask for help.

Since I aske the question I have looked at the GCC Howto and uncovered some information about the intended operations of ldconfig.

So as much as anything it is advice about which versions of what I should now use.

As I said before I have some evidence about the ldconfig failure available.

Also, I was following advice from the rpm list that rather than install an rpm file by over-riding its requirements it was better  to load the other rpms too.  That was the cause of my problems.  My experience has been that queries of this sort do not get a response on the rpm-list because they are developing rpm.
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question