Problems building Apache with SSLeay+RSAref

Problems building Apache with SSLeay+RSAref

Post by Christopher Schul » Sun, 15 Mar 1998 04:00:00



I am trying to build Apache 1.2.5 with the ssl patch...   I'm trying
to get it to work with SSLeay 0.8.1 and RSAref 2.0.

Environment is Solaris 2.6 running on a SUN Sparc 10 using GCC 2.8.0.

I can compile Apache + SSLeay fine..  And I can compile SSLeay +
RSAref fine...   But as soon as I try to compile Apache with
SSLeay+RSAref,  it pukes...

Originally I was getting 2 symbol referencing errors....   The first
one I resolved by changing

ERR_load_crypto_strings();  

    in apache_ssl.c(InitSSL()) to

#ifndef RSAref
ERR_load_crypto_strings();
#else
ERR_load_RSAREF_strings();
#endif

So now I have one symbol reference error left....

When I try to compile now, this is what I get...

gcc   -o httpsd alloc.o http_main.o http_core.o http_config.o
http_request.o  http_log.o http_protocol.o rfc1413.o util.o
util_script.o modules.o buff.o md5c.o util_md5.o explain.o
http_bprintf.o util_date.o util_snprintf.o mod_env.o  mod_log_config.o
mod_mime.o  mod_negotiation.o  mod_include.o  mod_dir.o  mod_cgi.o
 mod_asis.o  mod_imap.o  mod_actions.o  mod_userdir.o
modules/proxy/libproxy.a  mod_alias.o  mod_rewrite.o  mod_access.o
mod_auth.o  mod_auth_anon.o  mod_auth_dbm.o  mod_digest.o
mod_cern_meta.o  mod_expires.o  mod_headers.o  apache_ssl.o
mod_usertrack.o  mod_browser.o regex/libregex.a
-L/usr/local/etc/httpsd/SSLeay/out -lssl -lRSAglue -lrsaref -lcrypto
-lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
RSA_PKCS1_RSAref
/usr/local/etc/httpsd/SSLeay/out/libcrypto.a
(rsa_lib.o)
ld: fatal: Symbol referencing errors. No output written to httpsd
*** Error code 1
make: Fatal error: Command failed for target `httpsd'

Any ideas would be greatly appreciated!
I've been trying to get this thing built for a while now...


But a followup to this would be just as good =)

Thanks in advance

--
Christopher Schulte
http:// www dot schulte dot org /
Unix System Administrator
Broad knoweledge base in:
WinNT, Win95, and MacOS Systems

NOTE: my email address has been encrypted with
rot13.  To send me email select the following
text and apply a rot13 filter to it:

 
 
 

1. Apache 1.2.6 and SSLeay with RSAREF

I compiled SSleay using RSAREF to try to remain legal while building
apache1.2.6. I'm having a problem with all certificates having invalid
signatures. Even if I create a test signature as shown in the FAQ for
SSLeay, I get the following error message   :

# verify httpsd.pem
httpsd.pem: /C=US/ST=Ohio/L=Columbus/O=GCFN/OU=staff/CN=Mike

error 7 at 0 depth lookup:certificate signature failure

Does anyone know what could cause this or how to fix it?

Mike Mangino

2. **Newbie** question about main page

3. SSLeay and RSARef

4. UNIX SYS ADMIN DFW

5. SSLeay-0.6.6 and RSAREF 2.0

6. Where is the Time Zone setting recorded?

7. Compilation Problem w/ Apache+SSLeay

8. Help:Multiple net setup? (Long)

9. Problems with Apache/SSL/ssleay on redhat 5.2

10. PROBLEM: apache 1.2.6 with SSLeay

11. Apache 1.1.1 SSLeay-0.6.1 Digital UNIX V3.2C compile problem

12. SSLeay and apache problem?

13. Building SSLeay