Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I need to add SSL module into Httpd Server. So, I created mod_ssl.so 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/mod_ssl.so" 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/mod_ssl.so into server: dlopen(/Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/mod_ssl.so, 10): Symbol not found: _ssl_callback_TmpDH\n  Referenced from: /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/mod_ssl.so\n  Expected in: flat namespace\n in /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/mod_ssl.so

Can you please help me?


share|improve this question

migrated from stackoverflow.com 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

1 Answer 1

This is most likely because apache cannot find the libssl.so 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/mod_ssl.so 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.