xmltooling configure error with curl and openssl 1.0.2
csross
cross at hccs.com
Mon Jul 20 10:49:56 EDT 2015
Hi
I checked the file configure.ac in xmltooling-1.4.2 (which I need to use
right now and is currently in production) and that patch is not in there. I
apologize if I am looking in the wrong file but the link to the patch showed
configure.ac.
This is the current entry and the patch looks like it applies here. Its the
only section that deals with libcurl.
AC_CHECK_HEADER([curl/curl.h],,AC_MSG_ERROR([unable to find libcurl
header files]))
AC_CHECK_LIB([curl],[curl_global_init],,AC_MSG_ERROR([unable to link
with libcurl]))
AC_MSG_CHECKING([for CURLOPT_SSL_CTX_FUNCTION in curl.h])
AC_EGREP_HEADER([CURLOPT_SSL_CTX_FUNCTION], [curl/curl.h],
[AC_MSG_RESULT(yes)],
[AC_MSG_ERROR([need libcurl that supports
CURLOPT_SSL_CTX_FUNCTION])])
AC_CHECK_TYPE([curl_off_t],[AC_DEFINE([HAVE_CURL_OFF_T],[1],[Define to 1
if you have the 'curl_off_t' type.])])
That is from the config.log. The linking failure was right after "checking
for curl_global_init,when it couldn't link to ssl. I will try and see if
my linking could be adjusted.
configure:19409: checking for curl_global_init in -lcurl
configure:19435: CC -o conftest -mt -D_REENTRANT -xO2 -Qoption ccfe
-stabs=no%dfltlit+no%dflthlp -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -mt -D_REENTRANT -xO2
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/ssl/include -L/usr/local/lib
-L/usr/local/lib conftest.cpp -lcurl -lcurl -L/usr/local/lib -lcurl -lssl
-lcrypto -lldap -lrt -lsocket -lnsl -lssl -lcrypto -lz -L/usr/local/ssl/lib
-lcrypto -lssl -lxml-security-c -lxerces-c -L/usr/local/lib -llog4shib
-lpthread -lnsl -lsocket -lpthread >&5
ld: fatal: library -lssl: not found
ld: fatal: library -lcrypto: not found
ld: fatal: library -lssl: not found
ld: fatal: library -lcrypto: not found
ld: fatal: file processing errors. No output written to conftest
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/xmltooling-configure-error-with-curl-and-openssl-1-0-2-tp7617386p7617411.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list