You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Darren O'Shaughnessy <da...@aaii.oz.au> on 1997/07/10 06:40:02 UTC

config/846: Incorrect ordering of libraries for SOCKS under Solaris

>Number:         846
>Category:       config
>Synopsis:       Incorrect ordering of libraries for SOCKS under Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul  9 21:40:01 1997
>Originator:     darren@aaii.oz.au
>Organization:
apache
>Release:        1.2.1
>Environment:
uname -a:
SunOS yarra-glen 5.5.1 Generic_103640-03 sun4m sparc SUNW,SPARCstation-10

I.e. Solaris 2.5.
No patches.
>Description:
If the SOCKS4 rule is invoked when using Configure under Solaris, -lresolv
is added to the list of libraries before -lsocks. This results in two
symbols which are defined in libresolv.a not being resolved by libsocks.a.
>How-To-Repeat:
Trivial
>Fix:
Easy - move the three lines

    if [ "$OS" = "Solaris 2" ]; then
        LIBS="$LIBS -lresolv"  
    fi  

from above to underneath the SOCKS test
>Audit-Trail:
>Unformatted: