https://issues.apache.org/bugzilla/show_bug.cgi?id=45514
Summary: Mac OS X Leopard 10.5.4 - Apache can't compile with
mod_ssl
Product: Apache httpd-2
Version: 2.2.9
Platform: Macintosh
OS/Version: other
Status: NEW
Keywords: ErrorMessage
Severity: normal
Priority: P2
Component: mod_ssl
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Created an attachment (id=22337)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22337)
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]