Subject: trouble with pkg apache, ap-php3, ap-ssl and missing libraries
To: None <netbsd-users@netbsd.org>
From: mocha <mochaexpress@yahoo.com>
List: netbsd-users
Date: 05/12/2000 16:05:28
i compiled package apache, ap-php3, ap-ssl. i can start apache w/o php3 or 
ssl fine. works. but as soon as i try to load the modules for php3 or ssl, 
it complains that it can't find certain libraries. but the libraries are 
there in /usr/pkg/lib or /usr/pkg/lib/php3, etc.

netbsd 1.4.2 and all current packages.

here are the errors:

with php:
# apachectl start
Syntax error on line 219 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/mod_php3.so into server: Shared object 
"libgdbm.s
o.1" not found
Segmentation fault - core dumped
/usr/pkg/sbin/apachectl start: httpd could not be started

with only ssl:
# apachectl startssl
Syntax error on line 214 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