0

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?

Thanks

1
  • What is the OS? May 17, 2011 at 18:28

1 Answer 1

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.

1
  • ldd /Users/gauravgoel/Apache-HttpServer/httpdBuild-2.2.16/httpdInstall-2.2.16/modules/mod_ssl.so will also show more directly if any required libraries are missing. Mar 4, 2014 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.