Software⏱️ 3 min read📅 2026-06-19

How to Fix: RPM created using checkinstall giving dependency error

Error fixing dependency issues with RPM created using checkinstall and openssl.

Quick Answer: Check the RPM's dependencies by running rpm --requiresfile or checkinstall --verbose, then install the missing dependencies before installing the RPM.

The error 'Failed dependencies: perl(WWW::Curl::Easy) is needed by openssl-1.0.1i-1.x86_64' occurs when trying to install an RPM package created using checkinstall that depends on a Perl module not installed on the target system. This issue affects users who have successfully compiled and installed OpenSSL but encounter problems when installing the resulting RPM package.

This error can be frustrating, especially for users who are not familiar with Perl or dependency management. However, by following the steps outlined in this guide, you should be able to resolve the issue and successfully install your RPM package.

💡 Why You Are Getting This Error

  • The primary reason for this error is that the checkinstall process did not properly detect the required Perl dependencies. When compiling OpenSSL using checkinstall, it only checks for dependencies related to the package itself, but does not consider external dependencies like perl(WWW::Curl::Easy).
  • Another possible cause could be missing or outdated versions of the required Perl modules, which might prevent the RPM from installing correctly.

🛠️ Step-by-Step Verified Fixes

Reinstalling and Reconfiguring OpenSSL with Proper Dependencies

  1. Step 1: Recompile OpenSSL using checkinstall with the --with-perl option to specify the Perl dependencies.
  2. Step 2: Modify the ./config file to include the required Perl modules, such as perl(WWW::Curl::Easy), and re-run make depend and make install.
  3. Step 3: Verify that the RPM package created by checkinstall includes the necessary Perl dependencies by running rpm -q --requires openssl-1.0.1i-1.x86_64

Manually Installing Required Perl Modules

  1. Step 1: Install the required Perl modules, such as perl(WWW::Curl::Easy), using a package manager like yum or apt.
  2. Step 2: Verify that the Perl modules are installed correctly by running perl -MWWW::Curl::Easy to check if it can find the module.

💡 Conclusion

To resolve the 'Failed dependencies' error when installing an RPM created with checkinstall, try reinstalling and reconfiguring OpenSSL with proper dependencies or manually install the required Perl modules. By following these steps, you should be able to successfully install your RPM package.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions