httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37823] New: - The openssl library linked is different between httpd and mod_ssl
Date Wed, 07 Dec 2005 19:44:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37823>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37823

           Summary: The openssl library linked is different between httpd
                    and mod_ssl
           Product: Apache httpd-2
           Version: 2.2.0
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jfut@featia.net


Hi,

I have just ccompiled 2.2.0. The openssl library linked is different between 
httpd and mod_ssl.

./configure \
--enable-mods-shared=all \
--enable-ssl
make

# ldd ./.libs/httpd
        ...
        libssl.so.4 => /lib/libssl.so.4 (0x003c0000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x001e8000)
        ...
These libraries are included in the RPM package (0.9.7a, CentOS 4.2).

# ldd ./modules/ssl/.libs/mod_ssl.so
        libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00bb1000)
        libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00cdd000)
        ...
These libraries were installed by using the source code (0.9.8a).

# ServerToken
Server: Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7a

This seems to be a problem in EXTRA_LIBS and SSL_LIBS.
I patched the configure file so that httpd and mod_ssl link same library.

# diff -urN configure.orig configure
--- configure.orig      2005-12-08 03:31:18.000000000 +0900
+++ configure   2005-12-08 03:31:47.000000000 +0900
@@ -20277,6 +20277,7 @@
   echo "  restoring LIBS to \"$LIBS\""
   echo "  setting EXTRA_LIBS to \"$EXTRA_LIBS\""
 fi
+EXTRA_LIBS="$EXTRA_LIBS \$(SSL_LIBS)"


# ServerToken with pache
Server: Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.8a

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message