symbol db_create: referenced symbol not found
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > symbol db_create: referenced symbol not found




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    symbol db_create: referenced symbol not found  
lukinagin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Re: symbol db_create: referenced symbol not found  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 07: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





[ Post a follow-up to this message ]



    Re: symbol db_create: referenced symbol not found  
lukinagin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 10:55 PM

I don't see either an /etc/ld.so.conf nor an ldconfig on my system.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:35 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register