Hi.

I can't build apache2. It fails with following error:


checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSLeay_version in -lcrypto... yes
checking for SSL_CTX_new in -lssl... no
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
configure: error: ... Error, SSL/TLS libraries were missing or unusable

!!! Please attach the following file when seeking support:
!!! /tmp/portage/app-admin/apache-tools-2.2.9/work/httpd-2.2.9/config.log
 *
 * ERROR: app-admin/apache-tools-2.2.9 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2364:  Called econf '--sbindir=/usr/sbin'
'--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr'
'--with-ssl=/usr' '--enable-ssl'
 *               ebuild.sh, line  526:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/tmp/portage/app-admin/apache-tools-2.2.9/temp/build.log'.
 * The ebuild environment file is located at
'/tmp/portage/app-admin/apache-tools-2.2.9/temp/environment'.
 *

Here are most ineresting lines from config.log:

configure:15675: checking for SSL_set_cert_store
configure:15731: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O3 -pipe
-fomit-frame-pointer -pthread  -DLINUX=2 -D_REENTRANT -D_GNU_
SOURCE  -Wl,--no-as-needed -L/usr/lib64/mozldap/ -L/usr/lib64/nss/
-L/usr/lib64/nspr -L/usr/lib64 -L/usr/lib conftest.c -lcrypto -lm -L/us
r/lib64 -lpcre  -luuid -lrt -lcrypt  -lpthread -ldl >&5
/tmp/portage/app-admin/apache-tools-2.2.9/temp/ccTIrw3a.o: In function
`main':
conftest.c:(.text+0x7): undefined reference to `SSL_set_cert_store'

# emerge -pv openssl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/openssl-0.9.8g-r2  USE="sse2 zlib -bindist -gmp
-kerberos -test" 0 kB

What's wrong?

-- 
Vladimir Rusinov
http://greenmice.info/

Reply via email to