Yum Source installation PHP error missing libmcrypt.so.4 () (64bit) Library

Source: Internet
Author: User
Tags fpm gpg install php php error

Original source: http://51network.blog.51cto.com/864602/1434360

Today yum Install PHP-FPM (your company made RPM package and source) error

The error message is as follows:

1 2 3 4 5 --> finished Dependency resolution php-fpm-5.3. 10-mjh. 1. x86_64 from Mjh_repo has depsolving problems--> Missing. 4 () (64bit) is needed by package php-fpm-5.3. 10-mjh. 1. x86_64 (Mjh_repo) error:missing Dependency:libmcrypt.so. 4 () (64bit) is needed by package php-fpm-5.3. 10-mjh. 1. x86_64 (Mjh_repo) You could try-using--skip-broken to work around the problem

Error message missing libmcrypt.so This library, 163 and CentOS sources are not libmcrypt,libmcrypt-devel two packages, when installing PHP requires this extension


Download the appropriate Epel source:

(1). 32-bit system

[Root@localhost src]# wget http://mirrors.yun-idc.com/epel/5/i386/epel-release-5-4.noarch.rpm


(2). 64-bit system

[Root@localhost ~]# http://mirrors.hust.edu.cn/epel//5/x86_64/epel-release-5-4.noarch.rpm


Install Epel Source (Note: I am here 64-bit system)

[Root@localhost src]# RPM-IVH epel-release-5-4.noarch.rpm

Warning:epel-release-5-4.noarch.rpm:header V3 DSA Signature:nokey, key ID 217521f6

Preparing ... ########################################### [100%]

1:epel-release ########################################### [100%]


Import Key File

[Root@localhost src]# rpm--import/etc/pki/rpm-gpg/rpm-gpg-key-centos-5

Workaround:

Epel, extra Packages for Enterprise Linux (Http://fedoraproject.org/wiki/EPEL) is built by the Fedora community for RHEL and derivative distributions such as CentOS, Scientific Linux and other projects that provide high-quality software packages. Here you can get RHEL's high quality, high performance, high reliability, free and easy to use package.

Yum Install libmcrypt-devel install yum install PHP-FPM will not be an error (use ldconfig-v |grep libmcrypt.so.4 view)

This article is from the "linuxsed" blog, please be sure to keep this source http://51network.blog.51cto.com/864602/1434360

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.