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 43998] New: - When mod_ssl 2.8.30-1.3.39 is added to source tree with the OpenSSL built with shared xlib, the linking will fail with missing symbols.
Date Thu, 29 Nov 2007 22:45:49 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=43998>.
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=43998

           Summary: When mod_ssl   2.8.30-1.3.39 is  added to source tree
                    with the OpenSSL built with shared xlib, the linking
                    will fail with missing symbols.
           Product: Apache httpd-1.3
           Version: 1.3.39
          Platform: All
        OS/Version: AIX
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: murthys@us.ibm.com


1) gzip <  apache_1.3.39.tar.gz | tar -xvpf -
2) chown -R root.system apache_1.3.39
3) gzip < openssl-0.9.8g.tar.gz | tar -xvpf -
4) chown -R root.system openssl-0.9.8g
5) gzip < mod_ssl-2.8.30-1.3.39.tar.gz | tar -xvpf -
6) chown -R root.system mod_ssl-2.8.30-1.3.39
7) cd apache_1.3.39
8) ./configure <with any and all flags>
9) cd ..
10) cd openssl-0.9.8g
11) ./config shared zlib --prefix=${PREFIX} 
12) gmake
13) gmake install
14) cd ../mod_ssl-2.8.30-1.3.39
15) ./configure --with-apache=../apache_1.3.39  \
      --with-ssl=../openssl-0.9.8g ---with-mm=<Path to mm install> \
      --prefix=${PREFIX} --enable-module=ssl --enable-module=so
16) cd  ../apache_1.3.39/
17) gmake
18) When trying to build libssl.so, you will get the following errrors:

ld: 0711-317 ERROR: Undefined symbol: .inflateEnd
ld: 0711-317 ERROR: Undefined symbol: .deflateEnd
ld: 0711-317 ERROR: Undefined symbol: .inflate
ld: 0711-317 ERROR: Undefined symbol: .deflate
ld: 0711-317 ERROR: Undefined symbol: .inflateInit_
ld: 0711-317 ERROR: Undefined symbol: .deflateInit

These are all the symbols defined in libz and the linker does not catch it and 
it is bogus message.

19) The Make file generator does not recognize the fact the libz is shared  
and forgets to add -lz to  EXTRA_LIBS  and LIBS_SHLIB in  
apache_1.3.39/src/Makefile

20) The work around is to manuallay add -lz flag to the auto generated 
Makefile 

NOTE:
sometimes if it is done by a novice, it can corrupt the entire Makefile and 
they will be lost in the jungle.

I humbly request you to fix this in your next patch to Apache 1.3

Thank you for all the  help and support you provide to the Apache community.

-- 
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