Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 12624 invoked by uid 6000); 23 Dec 1999 17:40:12 -0000 Received: (qmail 12487 invoked by uid 2001); 23 Dec 1999 17:40:01 -0000 Received: (qmail 11530 invoked by uid 2012); 23 Dec 1999 17:36:36 -0000 Message-Id: <19991223173636.11529.qmail@hyperreal.org> Date: 23 Dec 1999 17:36:36 -0000 From: Acacio Cruz Reply-To: acacio.cruz@eur.autodesk.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_so/5505: DSO modules do not load due to unresolved symbols Sender: apache-bugdb-owner@apache.org Precedence: bulk >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 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! ]