Search code examples
nginxopensslcentoslibcrypto

installing nginx failed CentOS


I got following error while installing nginx on CentOs 6.i googled but could not do anything.

   Error: Package: nginx-1.4.6-1.el6.ngx.x86_64 (nginx)
   Requires: libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)

Solution

  • How to find a library installed by which package.

    # whereis libcrypto.so
    

    libcrypto: /usr/lib64/libcrypto.so

    # rpm -qf /usr/lib64/libcrypto.so
    

    openssl-devel-xxxx.x86_64

    Now run blow command:

    # yum install openssl-devel