CSWgit and cswpki fail to load several libraries

Kevin Moody kevinm at objectivity.com
Thu Mar 13 17:30:34 CET 2014


Hi All,

Bear with me, as I am far from a Solaris guru.  I can say that I love the pkgutil setup.  However, I wouldn't be emailing you, if there wasn't something to discuss...

I'm seeing the following when trying to run cswpki, in order to install the security checks, as outlined in the "Getting Started":

# cswpki --import
Do you want to import the key used for: catalog signing 2011-09?
Yes/No: y

Importing the key used for: catalog signing 2011-09

ld.so.1: gpg: fatal: libc.so.1: version `SUNW_1.22.2' not found (required by file /opt/csw/bin/sparcv9/gpg)
ld.so.1: gpg: fatal: libc.so.1: open failed: No such file or directory
/opt/csw/bin/cswpki: line 63: 28470 Killed                  gpg --homedir="${pki_db:-/var/opt/csw/pki/}" --import "$key"

pkgutil appears to be working great.  I'm excited to have downloaded git 1.8.4.1, so easily.  But, CSWgit fails with similar library issues:

> ldd /opt/csw/bin/git
        libpthread.so.1 =>       /lib/libpthread.so.1
        libintl.so.8 =>  /opt/csw/lib/libintl.so.8
        libz.so.1 =>     /opt/csw/lib/libz.so.1
        libiconv.so.2 =>         /opt/csw/lib/libiconv.so.2
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libnsl.so.1 (SUNW_1.9.1) =>      (version not found)
        libcrypto.so.1.0.0 =>    /opt/csw/lib/libcrypto.so.1.0.0
        libc.so.1 =>     /lib/libc.so.1
        libc.so.1 (SUNW_1.22.2) =>       (version not found)
        libc.so.1 (SUNW_1.22.2) =>       (version not found)
        libmp.so.2 =>    /lib/libmp.so.2
        libmd5.so.1 =>   /lib/libmd5.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libc.so.1 (SUNW_1.22.2) =>       (version not found)
        libnsl.so.1 (SUNW_1.9.1) =>      (version not found)
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Fire-T200/lib/libc_psr.so.1

So, obviously, there are some system libraries that this machine doesn't have, which CSW packages are relying on.  Anybody recognize this problem?  Is it obvious which Solaris 10 packages that I'm missing?

Some more info:

> uname -a
SunOS xxx 5.10 Generic_118833-17 sun4v sparc SUNW,Sun-Fire-T200
> isainfo -v
64-bit sparcv9 applications
        asi_blk_init
32-bit sparc applications
        asi_blk_init v8plus div32 mul32

Most compilers and tools on this machine have been built from source.  Although I'm sure that building git from source would be a great git/solaris bonding experience for me, I'm not that interested in that approach.  I'd rather leave that to the experts, as I've seen too many libz and other library load failures from people who thought they had all of the dependencies.  :-D

Regards,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140313/6c0851d0/attachment-0001.html>


More information about the users mailing list