[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-ssl
Subject:    [apache-ssl] FreeBSD Ports: apache+ssl-1.3.27.1.48_2 -- Undefined symbol "X509_free"
From:       Peter Beckman <beckman () purplecow ! com>
Date:       2003-08-07 20:15:06
[Download RAW message or body]

I've searched google and the archives, and I haven't figured out quite yet
how to get Apache-SSL working on my box.

I had no trouble doing a "make install" in the ports tree.  Now cc did give
me a bunch of "linker input file unused because linking not done" -- could
it be that I need a better version of gcc?

Anyway, I compiled openssl-0.9.7b_1:
    -rw-r--r--  1 root  wheel  264060 Aug  7 08:18 /usr/local/lib/libssl.a
    lrwxr-xr-x  1 root  wheel      11 Aug  7 08:18 /usr/local/lib/libssl.so@ -> \
                libssl.so.3
    -r--r--r--  1 root  wheel  229768 Aug  7 08:18 /usr/local/lib/libssl.so.3

Put this line in apache:
    LoadModule apache_ssl_module  lib/libssl.so

And I get this error:
    Syntax error on line 219 of /usr/local/etc/apache/httpd.conf:
    Cannot load /usr/local/lib/libssl.so into server: /usr/local/lib/libssl.so: \
Undefined symbol "X509_free"  /usr/local/sbin/apachectl start: httpd could not be \
started

Is it because I didn't add the -lRSAglue -lrsaref tags?  If so, which Makefile do I
need to add this to (the Apache Makefile or the openssl Makefile?)?  I set
the ENV variable USA_RESIDENT=YES, but that didn't change anything.  I have
the header files available:

    /usr/include/openssl/x509.h
    /usr/include/openssl/x509_vfy.h
    /usr/include/openssl/x509v3.h

I'm stumped.  Suggestions?  Or if I've missed something in the archive (the
solution), berate me and lead me to it.

Thanks,
Peter
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman@purplecow.com                             http://www.purplecow.com/
---------------------------------------------------------------------------

-----------------------------------------------------------------------------------
to unsubscribe, send a blank email to: apache-ssl-unsubscribe@lists.aldigital.co.uk


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic