09-20-05 01:51 AM
I have a functioning instance of Apache 1.3.33 with SSL support on a
Solaris 9 machine. I am now attempting to add in the auth_db module as
a DSO. I've downloaded and installed the Berkeley Db 4.2.52 package
from http://www.sunfreeware.com and have compiled mod_auth_db by using
apxs and the following command:
/usr/local/apache/bin/apxs -I /usr/local/BerkeleyDB.4.2/include/ -L
/usr/local/BerkeleyDB.4.2/lib/ -o mod_auth_db.so -c mod_auth_db.c
The compile works fine. I then install the module using:
/usr/local/apache/bin/apxs -i -a -n auth_db mod_auth_db.so
Again, no problem; I see these lines added to my httpd.conf file:
LoadModule auth_db_module libexec/mod_auth_db.so
AddModule mod_auth_db.c
However, when I do an httpd -t to test my configuration, I get the
following message:
/usr/local/apache/bin/httpd -t
Syntax error on line 219 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_auth_db.so into server:
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/mod_auth_db.so: symbol db_create: referenced
symbol not found
Does anyone know what this message means and how I can correct it?
BTW - If I remark out the two lines mentioned above in my httpd.conf
file, the httpd -t comes back with a 'Syntax OK' message and Apache
starts fine.
[ Post a follow-up to this message ]
|