Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to add SSL module into Httpd Server. So, I created file by compiling the SSL module source code, with the help of apxs. I used command "apxs -c mod_ssl.c". I added the string "LoadModule mod_ssl modules/" into the httpd.conf file.

When I start the server I got the error message -

httpd: Syntax error on line 57 of /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/conf/httpd.conf: Cannot load /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/ into server: dlopen(/Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/, 10): Symbol not found: _ssl_callback_TmpDH\n  Referenced from: /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/\n  Expected in: flat namespace\n in /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/

Can you please help me?


share|improve this question

migrated from May 17 '11 at 16:48

This question came from our site for professional and enthusiast programmers.

What is the OS? – Mark Wagner May 17 '11 at 18:28

This is most likely because apache cannot find the dynamic library. On a Linux system, look at the man page for ldconfig and see if your openssl library in the dynamic linker path with ldconfig -p. On Solaris, look at the man page for crle to see what your runtime linker environment is.

share|improve this answer
ldd /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/module‌​s/ will also show more directly if any required libraries are missing. – Andrew Schulman Mar 4 '14 at 19:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.