Summary: | Mac OS X Leopard 10.5.4 - Apache can't compile with mod_ssl | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | dgandra <dgandra> |
Component: | mod_ssl | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | dgandra |
Priority: | P2 | Keywords: | ErrorMessage |
Version: | 2.2.9 | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | other | ||
Attachments: | Configure and make logs |
Created attachment 22337 [details] Configure and make logs Apache 2.2.9 can't compile if module mod_ssl is enabled under Mac OS X 10.5.4. I made a lot of tries. The first one was with OpenSSL 0.9.7l (it cames with OS X 10.5.4) and then I tried with earlier versions, including the last one, OpenSSL 0.9.8h. The used ./configure directive was the following: CC="darwin-i386-cc" LDFLAGS="-Llibdir" ./configure \ --enable-layout=Darwin \ --enable-mods-shared='all ssl dav cache proxy logio deflate cgi cgid suexec rewrite spelling expires' \ --with-ssl=/usr \ --with-included-apr \ --with-mpm=prefork The make process stopped after showing these lines: ... /sources/httpd-2.2.9/srclib/apr/libtool --silent --mode=link gcc -g -O2 -L/usr/lib -o ab ab.lo /sources/httpd-2.2.9/srclib/pcre/libpcre.la /sources/httpd-2.2.9/srclib/apr-util/libaprutil-1.la -lexpat -liconv /sources/httpd-2.2.9/srclib/apr/libapr-1.la -lpthread -lssl -lcrypto Undefined symbols: "_BIO_set_callback_arg", referenced from: _start_connect in ab.o "_BIO_get_callback_arg", referenced from: _ssl_print_cb in ab.o "_SSL_CTX_set_info_callback", referenced from: _main in ab.o "_BIO_set_callback", referenced from: _start_connect in ab.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [ab] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 Using the following configure directive, the compiling and installation process is made successfully: CC="darwin-i386-cc" LDFLAGS="-Llibdir" ./configure \ --enable-layout=Darwin \ --enable-mods-shared='all dav cache proxy logio deflate cgi cgid suexec rewrite spelling expires' \ --with-ssl=/usr \ --with-included-apr \ --with-mpm=prefork