|
Home > Archive > Apache Server configuration support > September 2005 > symbol db_create: referenced symbol not found
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
symbol db_create: referenced symbol not found
|
|
| lukinagin 2005-09-19, 8:51 pm |
| 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.
| |
| Davide Bianchi 2005-09-20, 2:51 am |
| On 2005-09-19, lukinagin <jsantana@csulb.edu> wrote:
> /usr/local/apache/bin/apxs -I /usr/local/BerkeleyDB.4.2/include/ -L
> /usr/local/BerkeleyDB.4.2/lib/
> /usr/local/apache/libexec/mod_auth_db.so: symbol db_create: referenced
> symbol not found
I think that you need to add /usr/local/Berkeley.../lib/
to your /etc/ld.so.conf and then re-run ldconfig.
Davide
--
No lusers were harmed in the creation of this usenet article.
AND I WANT TO KNOW WHY NOT!
-- Geoff. Lane
| |
| lukinagin 2005-09-21, 5:55 pm |
| I don't see either an /etc/ld.so.conf nor an ldconfig on my system.
|
|
|
|
|