cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL_connect missing

From: Hank Marquardt <hmarq_at_yerpso.net>
Date: Fri, 8 Mar 2002 18:19:00 -0600

> Please have a look in config.log to see what really failed.
> (search for SSL_connect)

duh. Sorry --

configure:10056: checking for SSL_connect in -lssl
configure:10083: gcc -o conftest -g -O2 -I/usr/local/home/cheer/include/openssl -I/usr/local/home/cheer/include -L/usr/local/home/cheer/lib conftest.c -lssl -lcrypto >&5
/usr/local/home/cheer/lib/libcrypto.a(a_utctm.o): In function `ASN1_UTCTIME_set':
a_utctm.o(.text+0x356): undefined reference to `gmtime_r'
/usr/local/home/cheer/lib/libcrypto.a(a_utctm.o): In function `ASN1_UTCTIME_cmp_time_t':
a_utctm.o(.text+0x481): undefined reference to `gmtime_r'
/usr/local/home/cheer/lib/libcrypto.a(a_gentm.o): In function `ASN1_GENERALIZEDTIME_set':
a_gentm.o(.text+0x356): undefined reference to `gmtime_r'
/usr/local/home/cheer/lib/libcrypto.a(a_time.o): In function `ASN1_TIME_set':
a_time.o(.text+0x150): undefined reference to `gmtime_r'
configure:10086: $? = 1
configure: failed program was:
#line 10064 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply. */
char SSL_connect ();
int
main ()
{
SSL_connect ();
  ;
  return 0;
}
configure:10103: result: no
configure:10115: checking for ssl with RSAglue/rsaref libs in use
configure:10120: checking for SSL_connect in -lssl

>
> > http://www.cheerhq.com/saveout.txt
>
> the configure command line is missing...

./configure --prefix=/usr/local/home/cheer
--with-ssl=/usr/local/home/cheer

-- 
Hank Marquardt <hank_at_yerpso.net>
http://web.yerpso.net
GPG Id: 2BB5E60C
Fingerprint: D807 61BC FD18 370A AC1D  3EDF 2BF9 8A2D 2BB5 E60C
Received on 2002-03-09