curl-users
Trying to get cURL to access a https link
Date: Thu, 25 Sep 2003 19:09:20 -0700 (PDT)
Hi,
I have just joined this list so I apologise if I'm doing it all wrong.
I'm trying to get cURL to read a https link from within a UniVerse database and it kept
failing so I tried to get it to work from a "Command Prompt". I'm keep getting :-
The procedure entry point ENGINE-by_id could not be found in the dynamic link library libeay32.dll
First I found a newer libeay32 through Google but that didn't help. So I downloaded and applied
OpenSSL from http://curl.haxx.se/download.html. It asked me where to install and I replied
C:\WINDOWS\System32. After the installation I noticed that the libraries had NOT been updated and
my test (cURL) failed again.
I examined the OpenSSL folder and read the readme which talked about a "doc" folder that wasn't
there. I also noticed a couple of copies of the libraries in a couple of folders. Am I supposed
to copy these in the dllcache? I run WinXP Prof.
The UniVerse database supports a complex method of accessing https with security contexts &
certificates etc and I was expecting cURL to be easier. Boy was I wrong!
Could someone please instruct me on how to get cURL working?
Again I apologise if I have breached any protocols.
Rgds
Louis
--- James MacMillan <jamesm_at_qnx.com> wrote:
> Hello everyone,
>
> QNX 6 is a POSIX-compliant UNIX variant, so porting curl was very easy.
> Only two small changes to configure.ac were required in order to port
> the latest curl (v7.10.7) to QNX 6.2.x (http://www.qnx.com).
> The patch is attached to this mail.
>
> Changes to support QNX 6.2.x
> - had to change a check before testing for -lnsl and -lsocket
> simultaneously. The configure system would forget that it had
> already found -lsocket to be suitable, otherwise.
> - had to move the check for IPv6 to below where -lsocket gets added
> to the default LIBS variable. The commands were not changed, only
> moved.
> NOTE: The libz.so included in QNX 6.2.1 is missing the zlibVersion()
> function. This will cause the compile to fail. It has already been
> corrected in QNX's internal cvs repository. Earlier versions
> (6.2.0) and future versions (6.3.x) should work fine. As a
> temporary measure it is possible to link against /usr/lib/libz.so.1
> which does include that function.
>
> Thanks,
> James
> > --- /fs/hd1-qnx4/home/jamesm/t2/cvs/open/curl/curl-7.10.7/configure.ac Thu Sep 25 14:46:03
2003
> +++ configure.ac Thu Sep 25 16:11:03 2003
> @@ -1,4 +1,4 @@
> -dnl $Id: configure.ac,v 1.1 2003/09/25 18:46:03 jamesm Exp $
> +dnl $Id: configure.ac,v 1.2 2003/09/25 20:11:03 jamesm Exp $
> dnl Process this file with autoconf to produce a configure script.
>
> AC_PREREQ(2.57)
> @@ -193,50 +193,7 @@
> AC_MSG_RESULT(yes)
> )
>
> -
> dnl **********************************************************************
> -dnl Checks for IPv6
> -dnl **********************************************************************
> -
> -AC_MSG_CHECKING([whether to enable ipv6])
> -AC_ARG_ENABLE(ipv6,
> -AC_HELP_STRING([--enable-ipv6],[Enable ipv6 (with ipv4) support])
> -AC_HELP_STRING([--disable-ipv6],[Disable ipv6 support]),
> -[ case "$enableval" in
> - no)
> - AC_MSG_RESULT(no)
> - ipv6=no
> - ;;
> - *) AC_MSG_RESULT(yes)
> - ipv6=yes
> - ;;
> - esac ],
> -
> - AC_TRY_RUN([ /* is AF_INET6 available? */
> -#include <sys/types.h>
> -#include <sys/socket.h>
> -main()
> -{
> - if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
> - exit(1);
> - else
> - exit(0);
> -}
> -],
> - AC_MSG_RESULT(yes)
> - ipv6=yes,
> - AC_MSG_RESULT(no)
> - ipv6=no,
> - AC_MSG_RESULT(no)
> - ipv6=no
> -))
> -
> -if test "$ipv6" = "yes"; then
> - CURL_CHECK_WORKING_GETADDRINFO
> -fi
> -
> -
> -dnl **********************************************************************
> dnl Checks for libraries.
> dnl **********************************************************************
>
> @@ -250,7 +207,7 @@
>
> dnl At least one system has been identified to require BOTH nsl and
> dnl socket libs to link properly.
> -if test "$ac_cv_lib_nsl_gethostbyname" = "$ac_cv_func_gethostbyname"; then
> +if test "$ac_cv_lib_nsl_gethostbyname" != "yes" -a "$ac_cv_lib_socket_gethostbyname" != "yes";
> then
> AC_MSG_CHECKING([trying both nsl and socket libs])
> my_ac_save_LIBS=$LIBS
> LIBS="-lnsl -lsocket $LIBS"
> @@ -298,6 +255,47 @@
> esac ],
> AC_MSG_RESULT(no)
> )
> +
> +dnl **********************************************************************
> +dnl Checks for IPv6
> +dnl **********************************************************************
> +
> +AC_MSG_CHECKING([whether to enable ipv6])
> +AC_ARG_ENABLE(ipv6,
> +AC_HELP_STRING([--enable-ipv6],[Enable ipv6 (with ipv4) support])
> +AC_HELP_STRING([--disable-ipv6],[Disable ipv6 support]),
> +[ case "$enableval" in
> + no)
> + AC_MSG_RESULT(no)
> + ipv6=no
> + ;;
> + *) AC_MSG_RESULT(yes)
> + ipv6=yes
> + ;;
> + esac ],
> +
> + AC_TRY_RUN([ /* is AF_INET6 available? */
> +#include <sys/types.h>
> +#include <sys/socket.h>
> +main()
> +{
> + if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
> + exit(1);
> + else
> + exit(0);
> +}
> +],
> + AC_MSG_RESULT(yes)
> + ipv6=yes,
> + AC_MSG_RESULT(no)
> + ipv6=no,
> + AC_MSG_RESULT(no)
> + ipv6=no
> +))
> +
> +if test "$ipv6" = "yes"; then
> + CURL_CHECK_WORKING_GETADDRINFO
> +fi
>
> dnl **********************************************************************
> dnl Check how non-blocking sockets are set
>
=====
Due to economic restraints the light at end of tunnel will be turned off
until further notice.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-26