>Number: 2462 >Category: os-netbsd >Synopsis: DSO symbols don't need an underscore prepended on NetBSD/pmax >1.3.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jun 18 00:20:01 PDT 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.0 >Environment: NetBSD spacehog.revolve.org 1.3.2 NetBSD 1.3.2 (SPACEHOG) #0: Tue Jun 2 03:15:09 PDT 1998 [EMAIL PROTECTED]:/usr/src/sys/arch/pmax/compile/SPACEHOG pmax >Description: The file src/os/unix/os.h defines DLSYM_NEEDS_UNDERSCORE when __NetBSD__ is defined, but the symbols do not need an underscore prepended under NetBSD/pmax 1.3.2. >How-To-Repeat: Compile Apache with DSO support on a NetBSD/pmax machine, then try to run it. On a typical installation, you'll get an error message that the server can't find symbol _env_module in file libexec/mod_env.so. >Fix: Add a check for underscores to the configure script. AFAIK, this is likely to change in the future for all NetBSD platforms, so keeping up with #define statements is likely to be impractical. I can get Apache to work correctly with DSO support by hand-editing out the #define DLSYM_NEEDS_UNDERSCORE line. >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. ]