Bug 59667 - ab with openssl-1.0.1t will not build
Summary: ab with openssl-1.0.1t will not build
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4.20
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-06 18:30 UTC by Tom Marracci
Modified: 2016-06-07 19:09 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Marracci 2016-06-06 18:30:55 UTC
While building 2.4.20 with openssl-1.0.1t and libraries linking statically, get the following build error:

/usr/local/httpd-2.4.20/srclib/apr/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread   -L/usr/local/ssl/lib -lssl -lcrypto -lrt -lcrypt -lpthread -ldl  \
                 -o ab  ab.lo                              /usr/local/httpd-2.4.20/srclib/apr-util/libaprutil-1.la /usr/local/httpd-2.4.20/srclib/apr-util/xml/expat/libexpat.la /usr/local/httpd-2.4.20/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread -ldl -lm
ab.o: In function `main':
/usr/local/httpd-2.4.20/support/ab.c:2329: undefined reference to `TLSv1_1_client_method'
/usr/local/httpd-2.4.20/support/ab.c:2331: undefined reference to `TLSv1_2_client_method'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1


How do I proceed?
Comment 1 Tom Marracci 2016-06-07 19:09:39 UTC
Found a suitable workaround for this. In my case, the os was installed with openssl 9.8g using apt-get but I was patching it with the latest source downloads up to 1.0.1t.  There was a library conflict that I simply could not work my around.  In the end, I put the new ssl into it's own directory, rather than use /usr/local/ssl and used that to make httpd.  All linked and works great now.