LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   yum, mysql, subversion, barfed (https://www.linuxquestions.org/questions/red-hat-31/yum-mysql-subversion-barfed-321833/)

belorion 05-09-2005 10:15 PM

yum, mysql, subversion, barfed
 
I just tried to do an upgrade from mysql 3.23 to 4.1.x using Yum on a very minimal RH Fedora Core 2 system. Yum barfed on a few of the steps, but then said "transaction complete."

Now every mysql command (including mysql --version) returns the following error:

mysql: relocation error: /usr/lib/mysql/libmysqlclient.so.14: symbol __memmove_chk, version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference

How do I go about fixing this problem?

(unfortunately the exact yum errors are not available, they scrolled past my buffer).

I thought I'd move on and address this issue later, so I went on to do an install of Subversion. So I did `yum install subversion`. Everything went okay. No worrisome output. Transaction complete. Guess what? NOW YUM IS BROKEN!!

I now get this error when I run YUM:

/usr/bin/python: relocation error: /usr/lib/libpython2.4.so.1.0: symbol __vsnprintf_chk, version GLIBC_2.3.4 not defined in file libc.so.6 with link time reference

WTF is going on? This was a fresh install. I know yum uses python, and my install of subversion updated python ... but ISN"T THE WHOLE FRICKIN POINT OF YUM TO MANAGE THIS SHITE?

trickykid 05-10-2005 09:05 AM

Because all these upgraded RPM's you downloaded to upgrade with were compiled against a newer version of GLIBC, like the error states. You need to upgrade GLIBC to the version they were compiled against. But be very careful in upgrading, if you do one thing wrong, your whole system can be trashed. I'd say start by searching for past examples of upgrading it, etc, before proceeding. Usually another easy way to upgrade would be to use yum but since you barfed it, that won't do you any good unless you remove the RPM you upgraded with and revert/downgrade back to the pre-existing version you had installed.

belorion 05-10-2005 10:37 AM

Thanks for the info. I'm confused though ... if the new packages depend on a newer glibc, then shouldn't yum notified me of that? I thought its purpose in life was to help users with this dependency hell.

trickykid 05-10-2005 12:31 PM

Quote:

Originally posted by belorion
Thanks for the info. I'm confused though ... if the new packages depend on a newer glibc, then shouldn't yum notified me of that? I thought its purpose in life was to help users with this dependency hell.
So when you say it barfed on a few of the steps and then said transaction complete, an exact error message is probably helpful to anyone trying to help.. ;)

belorion 05-10-2005 01:25 PM

Since I was having problems finding up-to date RPM packaging for FC 2, I've decided to upgrade to FC 3, following the instructions here:

http://www.brandonhutchinson.com/Upg..._with_yum.html

However, when I do a `yum upgrade` it bails on a dependency problem:

Error: missing dep: perl(Mail::SpamAssassin::NoMailAudit) for pkg psa-spamassassin

I went ahead and updated perl via `yum upgrade perl` and tried again, but go the same error. Any suggestions for next step?


All times are GMT -5. The time now is 07:58 AM.