Date: Tue, 27 Nov 2012 16:04:08 -0800 From: "Steve Watt" <steve@Watt.COM> To: <apache@freebsd.org> Subject: apache22 vs openssl in base vs in ports? Message-ID: <027801cdccfb$e6b2fd80$b418f880$@watt.com>
next in thread | raw e-mail | index | archive | help
I'm attempting to start a fresh box with 9-STABLE (svn r243557). I started with the 9.0-RELEASE images, and installed some packages (including apache22), and then upgraded src and ports to current yesterday with svn. I recompiled openssl and apache22 (making sure that SSL was in the config for apache22)... no change. When I start apache, I see this: - - - - - - 18# /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: httpd: Syntax error on line 89 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_ssl.so into server: /usr/local/libexec/apache22/mod_ssl.so: Undefined symbol "TLSv1_2_server_method" Starting apache22. httpd: Syntax error on line 89 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_ssl.so into server: /usr/local/libexec/apache22/mod_ssl.so: Undefined symbol "TLSv1_2_server_method" /usr/local/etc/rc.d/apache22: WARNING: failed to start apache22 - - - - - - I did a little poking around, and notice that TLSv1_2_server_method is not a symbol exported by /usr/lib/libssl.a (and thus presumably libssl.so.6, but I can't seem to list symbols from the latter via nm?). However, it /is/ exported by /usr/local/lib/libssl.a. I see the /usr/local/etc/rc.d/apache22 script running /usr/local/slbin/envvars, which is adding /usr/local/lib to LD_LIBRARY_PATH, so that looks OK... But I feel like I'm missing something obvious. What's installed: - - - - - - 30# ll -d /var/db/pkg/{openssl,apr,apache}* drwxr-xr-x 2 root wheel 9 Nov 26 22:44 /var/db/pkg/apache22-2.2.23_2/ drwxr-xr-x 2 root wheel 8 Nov 26 22:43 /var/db/pkg/apr-1.4.6.1.4.1_1/ drwxr-xr-x 2 root wheel 9 Nov 27 15:07 /var/db/pkg/openssl-1.0.1_4/ 31# cat /var/db/ports/{openssl,apr,apache}*/options # This file is auto-generated by 'make config'. # Options for openssl-1.0.1_4 _OPTIONS_READ=openssl-1.0.1_4 _FILE_COMPLETE_OPTIONS_LIST= SHARED THREADS I386 SSE2 ASM PADLOCK ZLIB SCTP MD2 RC5 RFC3779 GMP OPTIONS_FILE_SET+=SHARED OPTIONS_FILE_SET+=THREADS OPTIONS_FILE_UNSET+=I386 OPTIONS_FILE_SET+=SSE2 OPTIONS_FILE_SET+=ASM OPTIONS_FILE_UNSET+=PADLOCK OPTIONS_FILE_SET+=ZLIB OPTIONS_FILE_SET+=SCTP OPTIONS_FILE_SET+=MD2 OPTIONS_FILE_SET+=RC5 OPTIONS_FILE_SET+=RFC3779 OPTIONS_FILE_UNSET+=GMP # This file is auto-generated by 'make config'. # Options for apr-1.4.6.1.4.1_1 _OPTIONS_READ=apr-1.4.6.1.4.1_1 _FILE_COMPLETE_OPTIONS_LIST= THREADS IPV6 DEVRANDOM BDB GDBM LDAP MYSQL NDBM PGSQL SQLITE OPTIONS_FILE_SET+=THREADS OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=DEVRANDOM OPTIONS_FILE_SET+=BDB OPTIONS_FILE_SET+=GDBM OPTIONS_FILE_UNSET+=LDAP OPTIONS_FILE_SET+=MYSQL OPTIONS_FILE_SET+=NDBM OPTIONS_FILE_UNSET+=PGSQL OPTIONS_FILE_SET+=SQLITE # This file is auto-generated by 'make config'. # Options for apache22-2.2.23_2 _OPTIONS_READ=apache22-2.2.23_2 _FILE_COMPLETE_OPTIONS_LIST= AUTH_BASIC AUTH_DIGEST AUTHN_ALIAS AUTHN_ANON AUTHN_DBD AUTHN_DBM AUTHN_DEFAULT AUTHN_FILE AUTHZ_DBM AUTHZ_DEFAULT AUTHZ_GROUPFILE AUTHZ_HOST AUTHZ_OWNER AUTHZ_USER AUTHNZ_LDAP LDAP DBD CACHE DISK_CACHE FILE_CACHE MEM_CACHE DAV DAV_FS DAV_LOCK ACTIONS ALIAS ASIS AUTOINDEX CERN_META CGI CGID CHARSET_LITE DEFLATE DIR DUMPIO ENV EXPIRES HEADERS IMAGEMAP INCLUDE INFO LOG_CONFIG LOGIO MIME MIME_MAGIC NEGOTIATION REWRITE SETENVIF SPELING STATUS UNIQUE_ID USERDIR USERTRACK VHOST_ALIAS FILTER SUBSTITUTE VERSION SSL SUEXEC SUEXEC_RSRCLIMIT SUEXEC_USERDIR REQTIMEOUT PROXY IPV4_MAPPED BUCKETEER CASE_FILTER CASE_FILTER_IN EXT_FILTER LOG_FORENSIC OPTIONAL_HOOK_EXPORT OPTIONAL_HOOK_IMPORT OPTIONAL_FN_IMPORT OPTIONAL_FN_EXPORT PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_FTP PROXY_HTTP PROXY_SCGI OPTIONS_FILE_SET+=AUTH_BASIC OPTIONS_FILE_SET+=AUTH_DIGEST OPTIONS_FILE_SET+=AUTHN_ALIAS OPTIONS_FILE_SET+=AUTHN_ANON OPTIONS_FILE_UNSET+=AUTHN_DBD OPTIONS_FILE_SET+=AUTHN_DBM OPTIONS_FILE_SET+=AUTHN_DEFAULT OPTIONS_FILE_SET+=AUTHN_FILE OPTIONS_FILE_SET+=AUTHZ_DBM OPTIONS_FILE_SET+=AUTHZ_DEFAULT OPTIONS_FILE_SET+=AUTHZ_GROUPFILE OPTIONS_FILE_SET+=AUTHZ_HOST OPTIONS_FILE_SET+=AUTHZ_OWNER OPTIONS_FILE_SET+=AUTHZ_USER OPTIONS_FILE_UNSET+=AUTHNZ_LDAP OPTIONS_FILE_UNSET+=LDAP OPTIONS_FILE_SET+=DBD OPTIONS_FILE_SET+=CACHE OPTIONS_FILE_SET+=DISK_CACHE OPTIONS_FILE_SET+=FILE_CACHE OPTIONS_FILE_UNSET+=MEM_CACHE OPTIONS_FILE_SET+=DAV OPTIONS_FILE_SET+=DAV_FS OPTIONS_FILE_UNSET+=DAV_LOCK OPTIONS_FILE_SET+=ACTIONS OPTIONS_FILE_SET+=ALIAS OPTIONS_FILE_SET+=ASIS OPTIONS_FILE_SET+=AUTOINDEX OPTIONS_FILE_SET+=CERN_META OPTIONS_FILE_SET+=CGI OPTIONS_FILE_UNSET+=CGID OPTIONS_FILE_SET+=CHARSET_LITE OPTIONS_FILE_SET+=DEFLATE OPTIONS_FILE_SET+=DIR OPTIONS_FILE_SET+=DUMPIO OPTIONS_FILE_SET+=ENV OPTIONS_FILE_SET+=EXPIRES OPTIONS_FILE_SET+=HEADERS OPTIONS_FILE_SET+=IMAGEMAP OPTIONS_FILE_SET+=INCLUDE OPTIONS_FILE_SET+=INFO OPTIONS_FILE_SET+=LOG_CONFIG OPTIONS_FILE_SET+=LOGIO OPTIONS_FILE_SET+=MIME OPTIONS_FILE_SET+=MIME_MAGIC OPTIONS_FILE_SET+=NEGOTIATION OPTIONS_FILE_SET+=REWRITE OPTIONS_FILE_SET+=SETENVIF OPTIONS_FILE_SET+=SPELING OPTIONS_FILE_SET+=STATUS OPTIONS_FILE_SET+=UNIQUE_ID OPTIONS_FILE_SET+=USERDIR OPTIONS_FILE_SET+=USERTRACK OPTIONS_FILE_SET+=VHOST_ALIAS OPTIONS_FILE_SET+=FILTER OPTIONS_FILE_UNSET+=SUBSTITUTE OPTIONS_FILE_SET+=VERSION OPTIONS_FILE_SET+=SSL OPTIONS_FILE_UNSET+=SUEXEC OPTIONS_FILE_UNSET+=SUEXEC_RSRCLIMIT OPTIONS_FILE_UNSET+=SUEXEC_USERDIR OPTIONS_FILE_SET+=REQTIMEOUT OPTIONS_FILE_UNSET+=PROXY OPTIONS_FILE_UNSET+=IPV4_MAPPED OPTIONS_FILE_UNSET+=BUCKETEER OPTIONS_FILE_UNSET+=CASE_FILTER OPTIONS_FILE_UNSET+=CASE_FILTER_IN OPTIONS_FILE_UNSET+=EXT_FILTER OPTIONS_FILE_UNSET+=LOG_FORENSIC OPTIONS_FILE_UNSET+=OPTIONAL_HOOK_EXPORT OPTIONS_FILE_UNSET+=OPTIONAL_HOOK_IMPORT OPTIONS_FILE_UNSET+=OPTIONAL_FN_IMPORT OPTIONS_FILE_UNSET+=OPTIONAL_FN_EXPORT OPTIONS_FILE_UNSET+=PROXY_AJP OPTIONS_FILE_UNSET+=PROXY_BALANCER OPTIONS_FILE_UNSET+=PROXY_CONNECT OPTIONS_FILE_UNSET+=PROXY_FTP OPTIONS_FILE_UNSET+=PROXY_HTTP OPTIONS_FILE_UNSET+=PROXY_SCGI - - - - - -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?027801cdccfb$e6b2fd80$b418f880$>