Ask Your Question

Getting dependencies error while installing a .rpm

asked 2012-11-06 06:45:23 +0000

juned gravatar image

updated 2013-06-03 12:10:06 +0000

I just created the rpm file from source. but while installing that rpm package i am getting this Error

[root@localhost ~]# rpm -ivh /root/x86_64/asterisk- 
error: Failed dependencies:
        libc.so.6(GLIBC_2.14)(64bit) is needed by asterisk-
        libc.so.6(GLIBC_2.7)(64bit) is needed by asterisk-
        libc.so.6(GLIBC_2.8)(64bit) is needed by asterisk-
        libcap.so.2()(64bit) is needed by asterisk-
        libcrypto.so.10()(64bit) is needed by asterisk-
        libedit.so.0()(64bit) is needed by asterisk-
        libgsm.so.1()(64bit) is needed by asterisk-
        libpopt.so.0(LIBPOPT_0)(64bit) is needed by asterisk-
        libresample.so.1()(64bit) is needed by asterisk-
        libspeexdsp.so.1()(64bit) is needed by asterisk-
        libsrtp.so.0()(64bit) is needed by asterisk-
        libssl.so.10()(64bit) is needed by asterisk-
        libtinfo.so.5()(64bit) is needed by asterisk-
        libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by asterisk-
        libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by asterisk-
        rpmlib(FileDigests) <= 4.6.0-1 is needed by asterisk-
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by asterisk-

I have also try to resolve the dependencies by using this:

[root@localhost ~]# yum-builddep asterisk- 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.hns.net.in
 * extras: mirrors.hns.net.in
 * updates: mirrors.hns.net.in
Checking for new repos for mirrors
Error: No Package found for libsrtp-devel

How to resolve these dependencies, please give me some suggestion to solve this issues.
Thanks & Regards

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-11-06 06:59:13 +0000

You are trying to build a fedora 15 RPM on EL-5. So of course you encounter missing dependencies. You need to provide them.

And I don't know if EL-5 is on the target of this "Ask Fedora" site.

edit flag offensive delete link more


@juned: No, RPM doesn't work that way. It links against system packages that are versioned to the OS you are running. If you were running EL6, there are asterisk packages in EPEL, but there don't appear to be packages for EL5.

wquine ( 2013-06-03 22:36:32 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.


Asked: 2012-11-06 06:45:23 +0000

Seen: 2,943 times

Last updated: Jun 03 '13