You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Acacio Cruz <ac...@eur.autodesk.com> on 1999/12/23 18:36:36 UTC
mod_so/5505: DSO modules do not load due to unresolved symbols
>Number: 5505
>Category: mod_so
>Synopsis: DSO modules do not load due to unresolved symbols
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Dec 23 09:40:01 PST 1999
>Last-Modified:
>Originator: acacio.cruz@eur.autodesk.com
>Organization:
apache
>Release: 1.3.9
>Environment:
Apache 1.3.9
Solaris SPARC 2.6
gcc 2.95 & gcc 2.95.2
any DSO module
>Description:
If any DSO module is configured in httpd.conf the following error occurs:
root@giant httpd# bin/apachectl start
Syntax error on line 128 of /local/www/httpd/conf/httpd.conf:
Cannot load /local/www/httpd/libexec/libphp3.so into server: ld.so.1:
/local/www/httpd/bin/httpd: fatal: relocation error: file /local/www/httpd/libexec/libphp3.so:
symbol ap_user_id: referenced symbol not found
bin/apachectl start: httpd could not be started
I've tried other modules (mod_fastcgi, mod_dav, ...) and the error
is the same.
I looked into the source and ap_user_id is defined in src/main/http_main.c
Problem does NOT occur in Solaris INTEL 7 with same version of compiler.
>How-To-Repeat:
./configure --enable-module=so
and compile *any* mod as DSO.
>Fix:
Check the variable export mechanism ?!?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]