www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Acacio Cruz <acacio.c...@eur.autodesk.com>
Subject mod_so/5505: DSO modules do not load due to unresolved symbols
Date Thu, 23 Dec 1999 17:36:36 GMT

>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
>Originator:     acacio.cruz@eur.autodesk.com
>Release:        1.3.9
Apache 1.3.9
Solaris SPARC 2.6
gcc 2.95 & gcc 2.95.2
any DSO module
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.
./configure --enable-module=so 
and compile *any* mod as DSO.
Check the variable export mechanism ?!?
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

View raw message