Monday, February 11, 2013

libcrypt_d.so a munition? sure.

Oh hey.  screen's not working.  It complains of libcrypt_d.so libraries being missing.

[root@sunbox ~]# ls -la /usr/lib/libcrypt_d.so
/usr/lib/libcrypt_d.so: No such file or directory

Really?

[root@sunbox ~]# ls -la /usr/lib/ |grep libcrypt
lrwxrwxrwx   1 root     root          17 Jan 21  2011 libcrypt_i.so -> ./libcrypt_i.so.1
-rwxr-xr-x   1 root     bin        13960 Jan 22  2005 libcrypt_i.so.1
lrwxrwxrwx   1 root     root          20 Jan 21  2011 libcryptoutil.so -> ./libcryptoutil.so.1
-rwxr-xr-x   1 root     bin        55376 Mar 16  2010 libcryptoutil.so.1
lrwxrwxrwx   1 root     other         13 Jan 21  2011 libcrypt.so -> libcrypt_i.so
lrwxrwxrwx   1 root     other         15 Jan 21  2011 libcrypt.so.1 -> libcrypt_i.so.1

[root@sunbox ~]# find /usr/lib -name libcrypt_d*

Nothing.

So, I go here:
http://www.oracle.com/technetwork/server-storage/solaris/downloads/encryptionkit-485737.html

Accept the license and download:

Oracle Solaris 10 Encryption
sol-10-encrypt-GA-iso.zip (1.58 MB)

Hmm.  My system needs to be pre "Oracle Solaris 10 8/07"

[root@sunbox ~]# cat /etc/release

Solaris 10 11/06 s10s_u3wos_10 SPARC
Assembled 14 November 2006

Okay.
 
[root@sunbox ~]#  mount -F hsfs -o ro `lofiadm -a /root/sol-10-encrypt-GA.iso` /mnt
[root@sunbox ~]#  pkgadd -d /mnt/Encryption_10/sparc|i386/Packages


The following packages are available:
1 SUNWcrman Encryption Kit On-Line Manual Pages
(sparc|i386) 10.0,REV=52.0
2 SUNWcry Crypt Utilities
(sparc|i386) 11.10.0,REV=2005.01.21.16.34
3 SUNWcryr Solaris Root Crypto
(sparc|i386) 11.10.0,REV=2005.01.21.16.34

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

[root@sunbox ~]#  umount /mnt

[root@sunbox ~]# find /usr/lib -name libcrypt_d*
/usr/lib/sparcv9/libcrypt_d.so
/usr/lib/sparcv9/libcrypt_d.so.1
/usr/lib/libcrypt_d.so.1

No comments: