Menu

#19 tls starkit wrong for solaris

closed-fixed
starkit (2)
5
2006-07-13
2005-02-04
No

tls.vfs/lib/tls/pkgIndex.tcl expects that, on a sparc
solaris machine, that $tcl_platform(os) will return
Solaris. However, it returns, correctly, SunOS . This
means that the pkgIndex.tcl is unable to load tls on a
SPARC Solaris machine.

A second problem is that the tls.so created for the
starkit is dependant on libssl.so.0.9.7 and
libcrypto.so.0.9.7 - however, those shared libraries
are not generally available on Solaris.

Perhaps the library could be created without dependency
on shared libraries?

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-02-07

    Logged In: YES
    user_id=72656

    This you will have to report back to whoever makes the
    starkit, as it is not generated from the build stuff.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-02-07
    • status: open --> closed-invalid
     
  • Pat Thoyts

    Pat Thoyts - 2005-02-07
    • assigned_to: nobody --> patthoyts
    • status: closed-invalid --> open
     
  • Pat Thoyts

    Pat Thoyts - 2005-02-07

    Logged In: YES
    user_id=202636

    Well it's not like there is any other place to raise such an
    issue. As I created the kit I'll take the bug. I still think
    this is the right place to raise such a bug though.

    Whether I can actually _do_ anything about it I don't know.
    I have limited access to solaris via the sourceforge compile
    farm only.

     
  • Pat Thoyts

    Pat Thoyts - 2005-02-07
    • labels: --> starkit
     
  • Larry W. Virden

    Larry W. Virden - 2005-04-22

    Logged In: YES
    user_id=15949

    Pat,where does this bug stand? tkchat has begun failing again
    when the old tls.kit is found. At one point, there were changes
    made to tkchat to catch the error... but it is back.
    If the tls.kit were fixed, then at least solaris users
    wouldn't get
    the problem...

     
  • Nobody/Anonymous

    Logged In: NO

    It is possible to link the ssl libraries statically. For
    Solaris 10 the openssl shared libraries are present in
    /usr/sfw/lib which would seem to be pretty standard for this
    version -- however I guess it will be some time before most
    systems upgrade (if ever).

    I have Solaris 10 on intel here now so I'll hope to deal
    with the solaris issues soon. At the moment, if you have the
    .a files for openssl around, the magic is to use the -L
    option to specify the search directory and then use
    -Wl,-Bstatic -lssl -lcrypto -Wl,-Bdynamic
    This gets just these libraries linked statically.

     
  • Pat Thoyts

    Pat Thoyts - 2006-05-27

    Logged In: YES
    user_id=202636

    I finally got hold of the Sun cc compiler and build a static
    openssl 0.9.8b and got tls to link to this by adding
    -Bsymbolic to the link flags and using -Bstatic -lssl
    -lcrypto -Bdynamic in place of the usual bare -lssl -lcrypto
    link arguments. This gives us a sparcv8 architecture
    ssl-static tls.so which _should_ be ok for Solaris 8 - 10.
    I could do with some solaris8 on sparc testers for this but
    its likely already an improvement on the previous starkit so
    I'll ge this uploaded.

     
  • Pat Thoyts

    Pat Thoyts - 2006-07-13
    • status: open --> closed-fixed
     
  • Pat Thoyts

    Pat Thoyts - 2006-07-13

    Logged In: YES
    user_id=202636

    Should be fixed although the newer starkit needs uploading
    to sdarchive.