Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
01-06-2003, 02:10 PM
|
#1
|
Member
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58
Rep:
|
RPM error on RH8
I have a (hopefully) quickie. Whenever I attempt to upgrade something using rpm -Uvh <package_name> i'm getting the following message:
Preparing... ########################################### [100%]
cannot handle file 'libc.so.6' with TLS data
Does anyone know how i can resolve this issue? I'm not totally clear on what it exactally means.
|
|
|
01-06-2003, 03:17 PM
|
#2
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
Go to FreshMeat and search for 'apt' or 'apt-get' or 'synaptic'. These are debian programs that are now available for Redhat, which go to a source on the Net and download the package and all required libraries etc... It's really easy to use and keeps you from having those problems.
|
|
|
01-06-2003, 04:12 PM
|
#3
|
Member
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58
Original Poster
Rep:
|
I can get that to prevent future problems, but how do I fix the current issue?
|
|
|
01-07-2003, 08:48 AM
|
#4
|
Member
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58
Original Poster
Rep:
|
I've found another issue, how do i fix this:
[root@linuxbox etc]# cd /lib
[root@linuxbox lib]# libc.so.6
Incorrectly built binary which accesses errno, h_errno or _res directly. Needs to be fixed.
GNU C Library stable release version 2.3.1, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2).
Compiled on a Linux 2.4.20-0.pp.6 system on 2003-01-03.
Available extensions:
GNU libio by Per Bothner
crypt add-on version 2.1 by Michael Glad and others
linuxthreads-0.10 by Xavier Leroy
BIND-8.2.3-T5B
libthread_db work sponsored by Alpha Processor Inc
NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
Report bugs using the `glibcbug' script to <bugs@gnu.org>.
I believe they are both related, but if i try to install a new binary for glibc it gives me the original error.
|
|
|
01-07-2003, 11:05 AM
|
#5
|
Member
Registered: Jun 2001
Location: Centralia, WA
Posts: 274
Rep:
|
Get a new glibc in tar.gz format not binary and build it again.
|
|
|
01-07-2003, 07:21 PM
|
#6
|
Member
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58
Original Poster
Rep:
|
crimany, that's not an easy one to compile and install, i think i might just wait for RH8.1
|
|
|
01-07-2003, 08:42 PM
|
#7
|
Member
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208
Rep:
|
Have you upgraded the libc? The one on the RH80 CD is 2.2.93 and does not show the errno/h_errno twist.
|
|
|
01-07-2003, 08:50 PM
|
#8
|
Member
Registered: Feb 2002
Distribution: Fedora RedHat Core 2
Posts: 58
Original Poster
Rep:
|
the problem is getting back to it, i've just finished downloading the redhat iso's so i'll burn those and try a reinstall
|
|
|
02-10-2003, 01:55 PM
|
#9
|
LQ Newbie
Registered: Feb 2003
Posts: 2
Rep:
|
Hey,
I ran into this problem too when installing glibc from rawhide, I think it's because you don't have the latest version of rpm (also from rawhide).
Of course, since your rpm isn't current working, it's going to be a hassle. Here's how I fixed things up, it worked for me, hopefully it'll work for you. It requires that you have another computer that already has rpm 4.2 (and appropriate underlying packages) installed on it.
1. Copy the following files from the computer with the working rpm into the appropriate locations on your non-working box.
/bin/rpm
/usr/lib/librpm-4.2.so
/usr/lib/librpmdb-4.2.so
/usr/lib/librpmio-4.2.so
/usr/lib/libelf.so.1
Then, run
/sbin/ldconfig
Now, remove the old rpm database files:
rm /var/lib/rpm/__db.00*
And rebuild the database:
rpm --rebuilddb
rpm should now work (mostly) correctly. At least enough so that you can get the new rpm package files installed.
|
|
|
08-14-2003, 03:40 AM
|
#10
|
LQ Newbie
Registered: Aug 2003
Distribution: rh9
Posts: 1
Rep:
|
Quote:
Originally posted by loening
Hey,
I ran into this problem too when installing glibc from rawhide, I think it's because you don't have the latest version of rpm (also from rawhide).
<snipped>
And rebuild the database:
rpm --rebuilddb
rpm should now work (mostly) correctly. At least enough so that you can get the new rpm package files installed.
|
If rebuilding the database yields something like:
root@fermat:/> rpm -rebuilddb
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index
try LD_ASSUME_KERNEL=2.2.5
before running rpm.
BTW, thanks to this thread (and to Tony Perrie) for these tips and to Jeff Johnson ... saved my life :-)
|
|
|
All times are GMT -5. The time now is 09:18 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
|
|