PDA

View Full Version : Installing mhash, rpm dependency issues


TransientAlias
2004-10-21, 18:44 PM
I need to install mhash, for use with php and authorize.net SIM. Unfortunately it needs glibc_2.3, upon trying to figure out how to upgrade/install this it has another dependency glibc-common. when trying to install this with rpm, it confilcts with the previous version of glibc. The only information I have been able to find says that I face a difficult task.

I do not wish to kill the server, so I am looking for some guidance as to how I should proceed, or how i shouldn't. :)

Any Information would be helpful.

Ben

System is a Serverbeach server with RH8.3/Ensim

errors:

# rpm --install mhash-0.9.1-2.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by mhash-0.9.1-2

# rpm -Uvh glibc-common-2.2.93-5.i386.rpm
error: failed dependencies:
glibc < 2.2.93 conflicts with glibc-common-2.2.93-5
glibc-common = 2.2.5-44 is needed by glibc-2.2.5-44

# rpm -Uvh glibc-common-2.2.93-5.i386.rpm
error: failed dependencies:
glibc < 2.2.93 conflicts with glibc-common-2.2.93-5
glibc-common = 2.2.5-44 is needed by glibc-2.2.5-44

Tino Didriksen
2004-10-21, 18:58 PM
Try installing it from an alternate source, e.g. http://dag.wieers.com/packages/libmhash/

And if you need dependancies solved, let yum or apt do it for you.

TransientAlias
2004-10-21, 20:50 PM
same issue...

# rpm -Uvh libmhash-0.9.1-1.rh80.dag.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_2.3) is needed by libmhash-0.9.1-1.rh80.dag

Yum doesn't appear to be installed...
the man page for apt on that machine is cryptic at best.... Will look into it more when i have more time.

Any other suggestions?

Thanks in advance
Ben

QT
2004-10-21, 21:32 PM
You don't want to upgrade glibc as it can break other things on your system...or the entire system. If you can't find any binary rpms that work, download a source rpm and just rebuild it.

TransientAlias
2004-10-21, 22:16 PM
i found an rpm that would install for rh7.3 ... seems to have installed.

Now I am looking for a way to enable mhash() in php without recompiling it.

I certainly don't want to break anything :) and cause as little downtime as possible... If i take the server down someone will call me in about a half a minute saying they can't get their email...

also, i get a segmentation fault when i try to execute ./usr/lib/libmhash.so.2 directly
don't know if i should be able to do this...