You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/09/10 06:12:32 UTC

[Bug 46745] ab.c error : undefined reference to `BIO_set_callback' (apache 2.2.11/openssl-0.9.8j)

https://issues.apache.org/bugzilla/show_bug.cgi?id=46745

--- Comment #3 from Steve Kelem <st...@kelem.net> ---
I'm seeing the same problem on apache 2.4.6, Ubuntu Linux 13.04 x86_64.

I compiled and installed openssl-1.0.0g. It installed in /usr/local/ssl. (Not
openssl!) That directory has a lib directory, but no lib64 directory.

I configured httpd with:
./configure \
--cache-file=/usr/share/config/config.cache \
--prefix=/usr/local/apache2 \
--enable-dav \
--enable-http \
--enable-imagemap \
--enable-modules=all \
--enable-modules=most \
--enable-so \
--enable-unixd \
--prefix=/usr/local/apache2 \
--with-included-apr \
--with-included-apr-util \
--with-included-iconv \
--enable-ssl \
--enable-ssl-staticlib-deps \
--with-crypto \
--enable-session-crypto \
--with-ssl=/usr/local/ssl \
--with-mysql \
--with-perl 

and I've tried commenting out the lines with "ssl" and "crypto", but still get
the errors:

make[2]: Entering directory `/local/usr/local/src/httpd-2.4.6/support'
/usr/local/src/httpd-2.4.6/srclib/apr/libtool --silent --mode=link gcc
-std=gnu99  -g -O2 -pthread     \
             -o ab  ab.lo      
/usr/local/src/httpd-2.4.6/srclib/apr-util/libaprutil-1.la -lexpat
/usr/local/src/httpd-2.4.6/srclib/apr/libapr-1.la -luuid -lrt -lcrypt -lpthread
-ldl -lm
ab.o: In function `ssl_print_cb':
/usr/local/src/httpd-2.4.6/support/ab.c:445: undefined reference to
`BIO_get_callback_arg'
/usr/local/src/httpd-2.4.6/support/ab.c:455: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:457: undefined reference to `BIO_dump'
ab.o: In function `ssl_print_cert_info':
/usr/local/src/httpd-2.4.6/support/ab.c:549: undefined reference to
`ASN1_INTEGER_get'
/usr/local/src/httpd-2.4.6/support/ab.c:549: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:550: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:551: undefined reference to
`ASN1_UTCTIME_print'
/usr/local/src/httpd-2.4.6/support/ab.c:552: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:554: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:555: undefined reference to
`ASN1_UTCTIME_print'
/usr/local/src/httpd-2.4.6/support/ab.c:556: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:558: undefined reference to
`X509_get_pubkey'
/usr/local/src/httpd-2.4.6/support/ab.c:559: undefined reference to
`EVP_PKEY_bits'
/usr/local/src/httpd-2.4.6/support/ab.c:559: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:561: undefined reference to
`EVP_PKEY_free'
/usr/local/src/httpd-2.4.6/support/ab.c:563: undefined reference to
`X509_get_issuer_name'
/usr/local/src/httpd-2.4.6/support/ab.c:564: undefined reference to
`X509_NAME_oneline'
/usr/local/src/httpd-2.4.6/support/ab.c:565: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:567: undefined reference to
`X509_get_subject_name'
/usr/local/src/httpd-2.4.6/support/ab.c:568: undefined reference to
`X509_NAME_oneline'
/usr/local/src/httpd-2.4.6/support/ab.c:569: undefined reference to
`BIO_printf'
/usr/local/src/httpd-2.4.6/support/ab.c:572: undefined reference to
`X509_get_ext_count'
/usr/local/src/httpd-2.4.6/support/ab.c:572: undefined reference to
`BIO_printf'

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org