Gentoo Archives: gentoo-user

From: Vladimir Rusinov <vladimir@×××××××××.info>
To: Gentoo User List <gentoo-user@l.g.o>
Subject: [gentoo-user] could not build apache2
Date: Wed, 19 Nov 2008 13:39:42
Message-Id: f6fdfb550811190539n2a899d44r9f764260523e8033@mail.gmail.com
1 Hi.
2
3 I can't build apache2. It fails with following error:
4
5
6 checking openssl/engine.h usability... yes
7 checking openssl/engine.h presence... yes
8 checking for openssl/engine.h... yes
9 checking for SSLeay_version in -lcrypto... yes
10 checking for SSL_CTX_new in -lssl... no
11 checking for ENGINE_init... yes
12 checking for ENGINE_load_builtin_engines... yes
13 checking for SSL_set_cert_store... no
14 configure: error: ... Error, SSL/TLS libraries were missing or unusable
15
16 !!! Please attach the following file when seeking support:
17 !!! /tmp/portage/app-admin/apache-tools-2.2.9/work/httpd-2.2.9/config.log
18 *
19 * ERROR: app-admin/apache-tools-2.2.9 failed.
20 * Call stack:
21 * ebuild.sh, line 49: Called src_compile
22 * environment, line 2364: Called econf '--sbindir=/usr/sbin'
23 '--with-z=/usr' '--with-apr=/usr' '--with-apr-util=/usr' '--with-pcre=/usr'
24 '--with-ssl=/usr' '--enable-ssl'
25 * ebuild.sh, line 526: Called die
26 * The specific snippet of code:
27 * die "econf failed"
28 * The die message:
29 * econf failed
30 *
31 * If you need support, post the topmost build error, and the call stack if
32 relevant.
33 * A complete build log is located at
34 '/tmp/portage/app-admin/apache-tools-2.2.9/temp/build.log'.
35 * The ebuild environment file is located at
36 '/tmp/portage/app-admin/apache-tools-2.2.9/temp/environment'.
37 *
38
39 Here are most ineresting lines from config.log:
40
41 configure:15675: checking for SSL_set_cert_store
42 configure:15731: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O3 -pipe
43 -fomit-frame-pointer -pthread -DLINUX=2 -D_REENTRANT -D_GNU_
44 SOURCE -Wl,--no-as-needed -L/usr/lib64/mozldap/ -L/usr/lib64/nss/
45 -L/usr/lib64/nspr -L/usr/lib64 -L/usr/lib conftest.c -lcrypto -lm -L/us
46 r/lib64 -lpcre -luuid -lrt -lcrypt -lpthread -ldl >&5
47 /tmp/portage/app-admin/apache-tools-2.2.9/temp/ccTIrw3a.o: In function
48 `main':
49 conftest.c:(.text+0x7): undefined reference to `SSL_set_cert_store'
50
51 # emerge -pv openssl
52
53 These are the packages that would be merged, in order:
54
55 Calculating dependencies... done!
56 [ebuild R ] dev-libs/openssl-0.9.8g-r2 USE="sse2 zlib -bindist -gmp
57 -kerberos -test" 0 kB
58
59 What's wrong?
60
61 --
62 Vladimir Rusinov
63 http://greenmice.info/