axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Johnson (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-1032) Solaris link of libhttp_channelssl has undefined references to SSL
Date Mon, 21 May 2007 19:19:16 GMT
Solaris link of libhttp_channelssl has undefined references to SSL
------------------------------------------------------------------

                 Key: AXISCPP-1032
                 URL: https://issues.apache.org/jira/browse/AXISCPP-1032
             Project: Axis-C++
          Issue Type: Bug
          Components: Transport (axis3)
    Affects Versions:  1.6 Final
         Environment: Linking on Solaris 2.8 w/Sun C++ 5.8 Patch 121017-02 2006/04/19 when
using a static OpenSSL package (the default configuration).
            Reporter: Wayne Johnson
             Fix For:  1.6 Final


2 problems when trying to use libhttp_channelssl related to linker errors.  These are not
shown in the link output because the -G option is used and the linker assumes that the missing
symbols will be available at load time.

1) The Solaris linker likes it's libraries in order.  Had to swap the linker parameters for
SSL libraries.
2) Had to add nsl to the syslibs for calls to gethostbyname, et al.

Patch:
Index: build/buildInitialize.xml
===================================================================
--- build/buildInitialize.xml   (revision 516565)
+++ build/buildInitialize.xml   (working copy)
@@ -165,6 +165,7 @@
                        <linkerarg value="-zmuldefs"/>
                        <syslibset libs="Cstd"/>
                        <syslibset libs="socket"/>
+                       <syslibset libs="nsl"/>
                </linker>
 
                <!--
Index: build/buildSSLChannel.xml
===================================================================
--- build/buildSSLChannel.xml   (revision 516565)
+++ build/buildSSLChannel.xml   (working copy)
@@ -18,7 +18,7 @@
                </then>
                <else>
                        <property name="HTTP.SSLChannel.inc.dir" value="include"/>
-                       <property name="HTTP.SSLChannel.libs" value="crypto,ssl"/>
+                       <property name="HTTP.SSLChannel.libs" value="ssl,crypto"/>
                </else>
       </if>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message