[Ilugc] problem of installing .rpm packages
- From: steve@xxxxxxxxxxxx (steve)
- Date: Tue Jan 12 14:18:27 2010
Hi Kannan,
On 01/12/2010 12:25 PM, ???????|amachu wrote:
On Mon, 2010-01-11 at 11:10 +0530, kannan kesavan wrote:
" rpm: error while loading shared libraries: libelf.so.1: cannot
open shared object file: No such file or directory "
how to fix this problem guide me
Firstly, it is not clear from your mail whether you have added the EPEL repos
to
your system:
http://fedoraproject.org/wiki/EPEL/FAQ#howtouse
IIRC, the clamav packages are available in these repos for RHEL/CentOS.
If you have already done that, what exact error are you getting with yum ?
Could
you please paste the output of:
$ yum install clamav
or
$ yum install "clamav*" # depending on your requirements
Secondly, one common problem (especially with packages that are not available
in
the standard repos like the official RHEL repos or EPEL repos) is that the arch
specific dependency is not specified while building the rpm.
So, for instance if you are trying to install a 32 bit rpm (ie: package name
ending with i[356]86.rpm) on a 64 bit system (ie: uname -m says x86_64), the
package might not automatically pull in the required arch specific packages and
instead just complain about some dependency which 'appears' to be already
fulfilled.
If this happens you can make the arch explicit by saying for instance:
$ yum install elfutils-libelf-devel.i686
HTH,
cheers,
- steve
--
random non tech spiel:
http://lonetwin.blogspot.com/
tech randomness:
http://lonehacks.blogspot.com/
what i'm stumbling into:
http://lonetwin.stumbleupon.com/
Other related posts: