You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Wayne Johnson (JIRA)" <ax...@ws.apache.org> on 2007/05/21 21:19:16 UTC

[jira] Created: (AXISCPP-1032) Solaris link of libhttp_channelssl has undefined references to SSL

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


[jira] Closed: (AXISCPP-1032) Solaris link of libhttp_channelssl has undefined references to SSL

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-1032.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was:  1.6 Final)
                   current (nightly)

Did the updates since the updates seem to be trivial. Have not tested this so if someone has a problem I assume issue will be created. 

> 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: current (nightly)
>
>
> 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