>Number: 3644 >Category: os-freebsd >Synopsis: DSO support does not work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 11 13:10:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 >Environment: FreeBSD 3.0-RELEASE gcc 2.7.2.1 >Description: When trying to load a DSO using LoadModule, Apache complains. For example, when trying to load mod_env.so, apache complains about not being able to find _mod_env.so >How-To-Repeat: run ./configure --enable-module=most --enable-shared=max --enable-rule=SHARED_CORE under FreeBSD 3.0 >Fix: I fixed by modifying os/unix/os.h around the #define DLSYM_NEEDS_UNDERSCORE The line should be
#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)) && !defined(__ELF__) >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [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! ]
