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

How to Fix: Solaris 10, When trying to run apache: ld.so.1: httpd: fatal relocation error

Apache HTTP Server error on Solaris 10 with ld.so.1: fatal relocation error

Quick Answer: Check for missing or outdated libraries, specifically mod_cwmp_22, and ensure proper configuration and dependencies are met.

The error 'ld.so.1: httpd: fatal relocation error' occurs when the Apache HTTP server is unable to load the mod_cwmp_22 module due to a missing symbol, specifically 'curl_easy_init'. This issue affects users who have installed the Cisco WebModem (CWMP) module for Apache and are trying to start the web server.

This error can be frustrating because it prevents the user from accessing their web applications or services that rely on the CWMP module. Fortunately, resolving this issue is relatively straightforward, and we will guide you through the steps to fix it.

🔍 Why This Happens

  • The primary reason for this error is that the mod_cwmp_22 module is not properly installed or linked with the Apache HTTP server. This can happen if the module installation was incomplete or if there are conflicts with other modules.
  • Another possible cause is a mismatch between the version of the CWMP module and the version of the Apache HTTP server it is being used with.

🚀 How to Resolve This Issue

Reinstalling and Re-linking the mod_cwmp_22 Module

  1. Step 1: Stop the Apache HTTP server service by running '/usr/local/apache2/bin/apachectl stop'.
  2. Step 2: Remove any existing files or directories related to the mod_cwmp_22 module, including '/usr/local/apache2/modules/mod_cwmp_22.so' and '/usr/local/apache2/conf/modules.conf'.
  3. Step 3: Reinstall the CWMP module by running 'pkgin -y install cisco-webmodem'.
  4. Step 4: After installation, re-link the mod_cwmp_22 module by running '/usr/local/apache2/bin/apachectl -l mod_cwmp_22' and then '/usr/local/apache2/bin/apachectl -k start -f /usr/local/apache2/conf/hdm/httpd.conf'.

Updating the Apache HTTP Server and CWMP Module

  1. Step 1: Check for any available updates for the Apache HTTP server by running '/usr/local/apache2/bin/apachectl -V' and '/usr/local/apache2/bin/apachectl -l'.
  2. Step 2: Update the Apache HTTP server to the latest version if necessary, following the instructions in the 'apachectl -V' output. This may involve installing a new package or updating existing ones.

✨ Wrapping Up

To resolve the 'ld.so.1: httpd: fatal relocation error', follow one of the methods outlined above. Reinstalling and re-linking the mod_cwmp_22 module is usually the most straightforward solution, but updating the Apache HTTP server and CWMP module can also resolve issues related to compatibility or outdated libraries.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions