curl-users
RE: Install on RH6.0
Date: Mon, 22 May 2000 19:17:51 +0200 (MET DST)
On Mon, 22 May 2000, Scott D. Allen wrote:
> I reran after editing src/Makefile and lib/Makefile with CPPFLAGS
> -DUSE_OPENSSL -DUSE_SSLEAY added as well as -lssl -lcrypto to LIBS.
>
> Same result....
Oh no, this is different.
> gcc -g -O2 -o curl main.o hugehelp.o urlglob.o ../lib/libcurl.a -lssl
> -lcrypto -ldl -L/usr/local/ssl/lib
> /usr/local/ssl/lib/libcrypto.a(rsa_lib.o): In function `RSA_new_method':
> rsa_lib.o(.text+0x10): undefined reference to `RSA_PKCS1_RSAref'
See? This is a different beast from before. There are now only two missing
symbols, both having the magic string 'RSA' in their names. That made a bell
ring in my head.
Now, without doing much research in the subject I read in the curl INSTALL:
If your SSL library was compiled with rsaref (usually for use in
the United States), you may also need to set:
LIBS=-lRSAglue -lrsaref
(from Doug Kaufman <dkaufman_at_rahul.net>)
Could this be the case here? What happens if you add those two libs to that
same line? Do you even have those libs in your ssl libs drawer?
I had a peek over at the openssl mailing list archives and I found
http://www.mail-archive.com/openssl-users@openssl.org/msg06317.html and other
articles pointing to this solution as well.
You can probably solve *all* your problems by running configure with the LIBS
variable set like that, as explained in the INSTALL document (if you do,
remove the config.cache file first).
-- Daniel Stenberg - http://www.contactor.se/~dast - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2000-05-22