Web Servers on Unix and Linux - Apache2 runtime module problem (solairs8)

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > May 2004 > Apache2 runtime module problem (solairs8)





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 Apache2 runtime module problem (solairs8)
Tommy

2004-05-12, 9:02 am

Hi,
I have a runtime problem with Apache2 and a smbauth module. Everything
compiles, but I get the following when starting apache:

Syntax error on line 238 of /opt/apache/conf/httpd.conf: Cannot load
/opt/apache/modules/mod_smbauth.so into server: ld.so.1:
/opt/apache/bin/httpd: fatal: relocation error: file
/opt/apache/modules/mod_smbauth.so: symbol decrement_smbd_process_count:
referenced symbol not found

I've searched quite a bit (mostly keying on "ld.so.1 fatal: relocation
error httpd", because the actuall error didn't hit), the closest solve I
can find is info about the linking and httpd.
I've tried using crle, I've compiled apache/samba/module with
Sunfreeware's gcc, GNU's ld.
I've tried compiling with Sun's ld (/usr/ccs/bin), and I've used CWS's gcc
with Sun's ld. Not matter what I do I get the same result.

I'm sure this is a compiler linker (user) issue - I just don't know enough
about gcc/ld.

I have also used ldd, LD_LIBRARY_PATH, clre, and LD RUN PATH.

Thanks for any help,

Tom de
Tulan W. Hu

2004-05-12, 9:02 am

"Tommy" <tdeboeser@hotmail.com> wrote in message ...
> Hi,
> I have a runtime problem with Apache2 and a smbauth module. Everything
> compiles, but I get the following when starting apache:
>
> Syntax error on line 238 of /opt/apache/conf/httpd.conf: Cannot load
> /opt/apache/modules/mod_smbauth.so into server: ld.so.1:
> /opt/apache/bin/httpd: fatal: relocation error: file
> /opt/apache/modules/mod_smbauth.so: symbol decrement_smbd_process_count:
> referenced symbol not found
>
> I've searched quite a bit (mostly keying on "ld.so.1 fatal: relocation
> error httpd", because the actuall error didn't hit), the closest solve I
> can find is info about the linking and httpd.
> I've tried using crle, I've compiled apache/samba/module with
> Sunfreeware's gcc, GNU's ld.
> I've tried compiling with Sun's ld (/usr/ccs/bin), and I've used CWS's gcc
> with Sun's ld. Not matter what I do I get the same result.
>
> I'm sure this is a compiler linker (user) issue - I just don't know enough
> about gcc/ld.
>
> I have also used ldd, LD_LIBRARY_PATH, clre, and LD RUN PATH.
>
> Thanks for any help,
>
> Tom de


Are you sure your mod_smbauth.c is for Apache 2?
The modules for Apache 1 and 2 are not compatible.


Tommy

2004-05-12, 9:54 am

On Wed, 12 May 2004 08:59:29 -0400, Tulan W. Hu wrote:

> "Tommy" <tdeboeser@hotmail.com> wrote in message ...
>
> Are you sure your mod_smbauth.c is for Apache 2? The modules for Apache
> 1 and 2 are not compatible.


Yeah, smbauth is packaged with options for apache, apache2, plus others (
commandline, jabber, etc) you have to tell it via ./configure where your
apxs(2) is also.

oh, and the author/maintanier hasn't replied to my email.

Thanks,

Tom de
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com