On Wednesday, November 25, 2015 at 7:40:35 AM UTC-8, joel schuetze wrote:
Greetings,
I'm looking for guidance on how to update the folly and proxygen framework to link to different version of the openssl libraries. I believe the modifications would need to be made to these files:
- /proxygen-0.32.0/proxygen/folly/folly/configure
- /proxygen-0.32.0/proxygen/configure
Within these configuration files, the logic to check for libssl is as follows:
if ac_fn_cxx_try_link "$LINENO"; then :
ac_cv_lib_ssl_SSL_ctrl=yes
ac_cv_lib_ssl_SSL_ctrl=no
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_ctrl" >&5
$as_echo "$ac_cv_lib_ssl_SSL_ctrl" >&6; }
if test "x$ac_cv_lib_ssl_SSL_ctrl" = xyes; then :
cat >>confdefs.h <<_ACEOF
as_fn_error $? "\"Error: libssl required\"" "$LINENO" 5
I attempted to replace the following line with explicit path to version of lssl.
LIBS="-lssl $LIBS"
LIBS="/usr/local/ssl/lib/libssl.a $LIBS"
The following error is returned.
"Error: libssl required\"" "$LINENO" 5
This error indicates that that this check fails:
if test "x$ac_cv_lib_ssl_SSL_ctrl" = xyes; then :
Any help or pointers is much appreciated.
Thanks,
Joel