[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. ]


Synopsis: Fails to compile with --enable-shared for modules

State-Changed-From-To: open-feedback
State-Changed-By: rse
State-Changed-When: Tue Jun  9 04:54:02 PDT 1998
State-Changed-Why:
That's interesting. Under HPUX 10.20 it worked
because as it seems the libdld.sl is
automaticalled loaded through symbols in libc.sl:

:> nm -B /usr/lib/libdld.sl | grep shl_load
00001400 T shl_load
000013e8 T shl_load
:> nm -B /usr/lib/libc.sl | grep shl_load
         U shl_load
         U shl_load
         U shl_load

And under HPUX 9.x (where I've no access to such
a box) the symbols in libc.sl are missing.
Ok, the correct patch is to let Apache check
for libdld explicitly. Please try out the above
patch and report if it now works without
manually editing something:

Index: src/Configure
===================================================================
RCS file: /e/apache/REPOS/apache-1.3/src/Configure,v
retrieving revision 1.266
diff -u -r1.266 Configure
--- Configure   1998/06/09 10:30:12     1.266
+++ Configure   1998/06/09 11:47:23
@@ -1071,6 +1071,15 @@
         *-ibm-aix* )
             DL_LIB="-lld"
             ;;
+        *-hp-hpux*)
+            if ./helpers/TestCompile func shl_load; then
+                :
+            else
+                if ./helpers/TestCompile lib dld; then
+                    DL_LIB="-ldld"
+                fi
+            fi
+            ;;
         * )
             if ./helpers/TestCompile func dlopen; then
                 :



Reply via email to