It is not possible to build slowhttptest if libssl.so is not in the default
library search path or /usr/local/bin. ./configure works as intended when
started with CPPFLAGS and LDFLAGS, e.g.
LDFLAGS=-Wl,-rpath,/home/foo/buildlib\ -L/home/foo/build//lib
CPPFLAGS=-I/home/foo/build/include ./configure --prefix=/home/foo/slowhttptest/
and the build proceeds until linking finally fails. It turns out that
src/Makefile.am explicitly removes CFLAGS and LDFLAGS. Instead of
CFLAGS=-Wall -I/usr/local/include
LDFLAGS=-L/usr/local/lib -lssl
it should probably set
CFLAGS=@CFLAGS@
CFLAGS+=-Wall -I/usr/local/include
LDFLAGS=@LDFLAGS@
LDFLAGS+=-L/usr/local/lib -lssl
or
CFLAGS=@CFLAGS@ -Wall -I/usr/local/include
LDFLAGS=@LDFLAGS@ -L/usr/local/lib -lssl
Original issue reported on code.google.com by goo...@7val.com on 26 Jul 2013 at 2:02
Original issue reported on code.google.com by
goo...@7val.com
on 26 Jul 2013 at 2:02