upgraded to glibc2.3 and now rpm seg faults
i successfully did a clean install/upgrade of glibc 2.3.2 but the rpm package manager is now broken. when trying to remove, install, or upgrade packages rpm will exit with a seg fault. since rpm is broken, i can't install the older glibc rpm packages. right now, i've gotten a hold of the rpm package source code from redhat for my system and need to know what options to put in the ./configure line as running a vanilla ./configure and make command led to an error stating that i need to tell it where the glibc shared objects are.
if you know of any other options that need to be set or anything else that comes to mind, please let me know. thank you. |
glibc 2.3.2 has the userspace bits of the New POSIX Threading Library, or NPTL. When I upgraded to 2.6 and glibc 2.3.2, my RPM broke as well.
Try this at a command-line, logged in as root: export LD_ASSUME_KERNEL=2.2.5 rpm --rebuilddb Then try to use RPM. If it works, then everything is OK. If it doesn't, then download and install the very latest rpm RPMs. I installed rpm-4.2.1-0.30 and rebuilt my RPM database and now everything is OK. |
tried out those commands and i still get seg faults.
it looks like i'm gonna need to build the source. which packages would i go about getting for rpm so i can rebuild the source? |
well here's the output of make.
Code:
cc1: warnings being treated as errors |
what option did you use to upgrade glibc? make sure you dont have two different versions of glibc installed.. did you run ldconfig after
|
used the -Uvh option and --nodeps option. the only deps i saw were gcc2.96 and gcc3.1-5 needed old version of glibc.
Code:
rpm -qa | grep "glibc" |
got past the first error by installing from source, libelf. now i got a python problem.
Code:
rpmmodule.lo -MD -MP -MF .deps/rpmmodule.TPlo -fPIC -DPIC -o .libs/rpmmodule.lo command used for configure so far: ./configure --includedir=/usr/include |
Why did you not use the up2date that is provided with Red hat? You shuld never give "--nodeps" until you are sure what you are doing. Try using the "up2date glibc" for a hopefully better future.
|
All times are GMT -5. The time now is 04:25 PM. |