>Number: 5395 >Category: os-hpux >Synopsis: Does not compile with APXS support on HP-UX 11.00 >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Nov 30 12:50:03 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: Operating System: HP-UX B.11.00 U 9000/800, patchlevel Sept. 99 Compiler: gcc 2.95.2 >Description: When I try to compile with APXS (dynamical loading of modules) it complains about lacking support for dynamical loading:
./configure --prefix=/opt/apache \ --enable-module=most \ --enable-shared=max ... make ... /usr/bin/ld: Unsatisfied symbols: dlclose (code) dlopen (code) dlerror (code) dlsym (code) collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/test/apache/src/apache_1.3.9/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/test/apache/src/apache_1.3.9' make: *** [build] Error 2 The same configure option on a Red Hat Linux 6.0 system works fine. Compiling statically on HPUX works also fine but I don't want to recompile the whole stuff (SSL+PHP+FastCGI+JServ+etc.) when I just want to add or update a new module. >How-To-Repeat: >Fix: HP support recommended to include the library /usr/lib/pa20_64/libdl.sl But when I tried this it did not even finish the configure script >Audit-Trail: >Unformatted: This is a multi-part message in MIME format. --------------1EA44B40223630739C8E34B5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The key is modifying the src/os/unix/os.c file so that HPUX11 is allowed. If you look at your defines in your Makefile, you see it shows -DHPUX11. However, the os.c program only allows HPUX and HPUX10. So, I just added "|| defined(HPUX11)" to each occurrence in the os.c file. The diff looks like the following: 100c100 < #if defined(HPUX) || defined(HPUX10) || defined(HPUX11) --- > #if defined(HPUX) || defined(HPUX10) 123c123 < #if defined(HPUX) || defined(HPUX10) || defined(HPUX11) --- > #if defined(HPUX) || defined(HPUX10) 138c138 < #if defined(HPUX) || defined(HPUX10) || defined(HPUX11) --- > #if defined(HPUX) || defined(HPUX10) 174c174 < #if defined(HPUX) || defined(HPUX10) || defined(HPUX11) --- > #if defined(HPUX) || defined(HPUX10) Once I did this, things compiled nicely and apache seems to work fine. Jon Scarbrough Oakton Community College Des Plaines, IL [EMAIL PROTECTED] ******************************************** Full text of PR number 5297: Received: (qmail 3711 invoked by uid 2012); 12 Nov 1999 13:01:39 -0000 Message-Id: <[EMAIL PROTECTED]> Date: 12 Nov 1999 13:01:39 -0000 From: Bernd Nies <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Does not compile with APXS support on HP-UX 11.00 X-Send-Pr-Version: 3.2 [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> 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! ] --------------1EA44B40223630739C8E34B5 Content-Type: text/html; charset=us-ascii; name="5297" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="5297" Content-Base: "http://bugs.apache.org/index/full/5297" Content-Location: "http://bugs.apache.org/index/full/5297" <HTML> <head><title>Full Problem Report Text for PR#5297</title></head> <body> <H2>Full text of PR number 5297:</H2> <pre> Received: (qmail 3711 invoked by uid 2012); 12 Nov 1999 13:01:39 -0000 Message-Id: <[EMAIL PROTECTED]> Date: 12 Nov 1999 13:01:39 -0000 From: Bernd Nies <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Does not compile with APXS support on HP-UX 11.00 X-Send-Pr-Version: 3.2 >Number: 5297 >Category: os-hpux >Synopsis: Does not compile with APXS support on HP-UX 11.00 >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Nov 12 05:10:01 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.9 >Environment: Operating System: HP-UX B.11.00 U 9000/800, patchlevel Sept. 99 Compiler: gcc 2.95.2 >Description: When I try to compile with APXS (dynamical loading of modules) it complains about lacking support for dynamical loading: ./configure --prefix=/opt/apache \ --enable-module=most \ --enable-shared=max ... make ... /usr/bin/ld: Unsatisfied symbols: dlclose (code) dlopen (code) dlerror (code) dlsym (code) collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/test/apache/src/apache_1.3.9/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/test/apache/src/apache_1.3.9' make: *** [build] Error 2 The same configure option on a Red Hat Linux 6.0 system works fine. Compiling statically on HPUX works also fine but I don't want to recompile the whole stuff (SSL+PHP+FastCGI+JServ+etc.) when I just want to add or update a new module. >How-To-Repeat: >Fix: HP support recommended to include the library /usr/lib/pa20_64/libdl.sl But when I tried this it did not even finish the configure script >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 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! ] </pre> </body> </HTML> --------------1EA44B40223630739C8E34B5--