Subject: Re: ap-ssl
To: Mocha <netbsd_alpha@yahoo.com>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: tech-pkg
Date: 05/12/2000 22:43:33
Thus spake Mocha
> >This bit me too.  Somehow the library versions went down after the latest
> >sup and rebuild.  Just change that to LoadFile !libcrypto.so.0 and you
> >should be fine except that it will complain about libssl.so.1then and you
> >need to fix that too.
> >
> >I'm not entirely sure how it happened but I did manage to get everything
> >working again doing that.
> 
> what version of netbsd are you running? -current?

I am running 4.7 but I'm not sure how that is relevant.  If you mean
Apache, I am running Apache/1.3.12 from pkgsrc.

> i've tried all diff combos of:
> 
> <IfDefine SSL>
> ### Uncomment the following if you wish to use SSL and you need RSAREF: ###
> #LoadFile !librsaref.so.2
> #LoadFile !libcrypto.so.1
> #LoadFile !libssl.so.1
> LoadFile lib/libcrypto.so.1.0
> LoadFile lib/libssl.so.1
> LoadModule ssl_module lib/httpd/mod_ssl.so
> AddModule mod_ssl.c
> </IfDefine>
> 
> still i get:
> # apachectl startssl
> Syntax error on line 217 of /usr/pkg/etc/httpd/httpd.conf:
> Cannot load /usr/pkg/lib/httpd/mod_ssl.so into server: Shared object 
> "libssl.so"
>   not found
> /usr/pkg/sbin/apachectl startssl: httpd could not be started

This works for me after building everything new.

LoadFile !librsaref.so.3
LoadFile !libcrypto.so.0
LoadFile !libssl.so.0
LoadModule ssl_module /usr/lib/httpd/mod_ssl.so
AddModule mod_ssl.c

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.