###
### Like others here I also just completed a "pfexec pkg install
[email protected]; pfexec pkg refresh; pfexec pkg image-update" and now get
the following after a reboot:
###
ld.so.1: svc.configd: fatal: relocation error: file /lib/libsecdb.so.1:
symbol defopen_r: referenced symbol not found
###
### I'm using the /dev repository
###
$ pkg authority
AUTHORITY URL
Blastwave http://blastwave.network.com:10000/
opensolaris.org http://pkg.opensolaris.org:80/
extra https://pkg.sun.com/opensolaris/extra/
localrepo http://localhost:10000/
opensolaris.org-Dev (preferred) http://pkg.opensolaris.org/dev/
opensolaris.org-Contrib http://pkg.opensolaris.org/contrib/
###
### Here's a list of boot environments
###
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
opensolaris-11 - - 31.68M static 2009-01-30 00:02
<< Build 105
opensolaris-12 N / 34.81M static 2009-02-12 01:18 <<
Build 106
opensolaris-13 R /mnt 23.79G static 2009-02-19 15:52 <<
Build 107
###
### Here's confirmation, as if it were needed, that /lib/libc.so.1 doesn't have
the required "defopen_r" symbol
###
$ nm /mnt/lib/amd64/libc.so.1 | grep defopen_r
00000000000930d8 T defopen_r
$ nm /mnt/lib/libc.so.1 | grep defopen_r <<<<<< missing symbol
$
$ nm /mnt/lib/libsecdb.so.1 | grep defopen_r
U defopen_r
$ nm /mnt/lib/amd64/libsecdb.so.1 | grep defopen_r
U defopen_r
$
###
### A package verification of SUNWcsl show no problems
###
$ pfexec pkg verify -v SUNWcsl
PACKAGE STATUS
pkg:/SUNWcsl OK
###
### A local package search confirms I'm using the b107 SUNWcsl package when
pointed at the /mnt mount point
###
$ pkg search -l libc.so.1
INDEX ACTION VALUE PACKAGE
basename link usr/lib/libc.so.1 pkg:/[email protected]
basename file lib/sparcv9/libc.so.1 pkg:/[email protected]
basename file lib/amd64/libc.so.1 pkg:/[email protected]
basename link usr/lib/amd64/libc.so.1 pkg:/[email protected]
basename file lib/libc.so.1 pkg:/[email protected]
basename link usr/lib/sparcv9/libc.so.1 pkg:/[email protected]
$ pkg search -l libsecdb.so.1
INDEX ACTION VALUE PACKAGE
basename file lib/amd64/libsecdb.so.1 pkg:/[email protected]
basename link usr/lib/amd64/libsecdb.so.1 pkg:/[email protected]
basename link usr/lib/sparcv9/libsecdb.so.1 pkg:/[email protected]
basename file lib/libsecdb.so.1 pkg:/[email protected]
basename link usr/lib/libsecdb.so.1 pkg:/[email protected]
basename file lib/sparcv9/libsecdb.so.1 pkg:/[email protected]
###
### Here's the 'pkg info' from Builds 106 & 107
###
$ pkg info SUNWcsl
Name: SUNWcsl
Summary: Core Solaris, (Shared Libs)
Category: System/Core
State: Installed
Authority: opensolaris.org-Dev
Version: 0.5.11
Build Release: 5.11
Branch: 0.106
Packaging Date: Sat Jan 31 17:55:44 2009
Size: 81.98 MB
FMRI: pkg:/[email protected],5.11-0.106:20090131T175544Z
$ pkg info SUNWcsl
Name: SUNWcsl
Summary: Core Solaris, (Shared Libs)
Category: System/Core
State: Installed
Authority: opensolaris.org-Dev
Version: 0.5.11
Build Release: 5.11
Branch: 0.107
Packaging Date: Thu Feb 12 17:23:17 2009
Size: 82.04 MB
FMRI: pkg:/[email protected],5.11-0.107:20090212T172317Z
###
### From the build 107 SUNWcsl Manifest file -
http://pkg.opensolaris.org/dev/manifest/0/SUNWcsl%400.5.11%2C5.11-0.107%3A20090212T172317Z
###
file bdcfbdfaf3aed63b5bf3cdb3b6617e601222daa3
chash=b286c548c2f3290b51eaaef72d21b783f089fbbf elfarch=i386 elfbits=64
elfhash=20b38609231c7f613ab30ddf56a1d6bb8e698bbe group=bin mode=0755 owner=root
path=lib/amd64/libc.so.1 pkg.csize=710259 pkg.size=2256368 variant.arch=i386
file 97b3bac668984a736c8de5eedc2edeecfccf187e
chash=57f6fecd60ee76ec130da0f32e5da27ac157fa7f elfarch=i386 elfbits=32
elfhash=b79f3b13f173f64a224e8190180dde44b9e6ddbc group=bin mode=0755 owner=root
path=lib/libc.so.1 pkg.csize=642293 pkg.size=1691336 preserve=true
reboot_needed=true variant.arch=i386
###
### From the build 106 SUNWcsl Manifest file -
http://pkg.opensolaris.org/dev/manifest/0/[email protected],5.11-0.106:20090131T175544Z
###
file 1d257366a7027c42e48d0f60c160f90060344c10
chash=01d181fc50e704d16ef4ee5fc68abf2c8e4df247 elfarch=i386 elfbits=64
elfhash=1b932d9c70f6e687403c84a4772112b6ace0ab24 group=bin mode=0755 owner=root
path=lib/amd64/libc.so.1 pkg.csize=709337 pkg.size=2255816 variant.arch=i386
file 64ee3a10eb18a4a83a34fe211d8db7a034430467
chash=bd9c39814709f22f7fbf790fcd937992c56f81b7 elfarch=i386 elfbits=32
elfhash=aafb374cc28e544f9faca426f522733807ebef4c group=bin mode=0755 owner=root
path=lib/libc.so.1 pkg.csize=641640 pkg.size=1690848 preserve=true
reboot_needed=true variant.arch=i386
###
### If we compare the pkg.size we see the /lib/libc.so.1 on disk is not correct
for build 107:
###
$ ls -l /mnt/lib/libc.so.1
-rwxr-xr-x 1 root bin 1664392 2008-04-27 02:43 /mnt/lib/libc.so.1 <<
Build 107 (incorrect)
$ ls -l /mnt/lib/amd64/libc.so.1
-rwxr-xr-x 1 root bin 2256368 2009-02-19 15:52 /mnt/lib/amd64/libc.so.1 <<
Build 107 (correct)
### And for b106
$ ls -l /lib/libc.so.1
-rwxr-xr-x 1 root bin 1699048 2009-02-12 01:18 /lib/libc.so.1 <<
Build 106 (correct)
$ ls -l /lib/amd64/libc.so.1
-rwxr-xr-x 1 root bin 2255816 2009-02-12 01:18 /lib/amd64/libc.so.1 <<
Build 106 (correct)
###
### Here's various checksums of the /mnt/lib/libc.so.1 (b107) to compare
against the fingerprint database
###
$ sum /mnt/lib/libc.so.1
22655 1626
$ md5sum /mnt/lib/libc.so.1
e21487992c7f79023bb554d1adc22a26 /mnt/lib/libc.so.1
$ sha1sum /mnt/lib/libc.so.1
0ebaf776d29b0c0a8112f096d2ed20282d594263 /mnt/lib/libc.so.1
###
### Looking at the file type in b107 we get this:
###
$ file /mnt/lib/libc.so.1
/mnt/lib/libc.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1 [CX8 FPU],
dynamically linked, not stripped, no debugging information available
###
### and for b106 we get this:
###
$ file /lib/libc.so.1
/lib/libc.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE MMX
CMOV SEP CX8 FPU], dynamically linked, not stripped, no debugging information
available
###
### The /lib/libc.so.1 library I got from the image-update isn't b106 and it
isn't quite b107 either.
### The library seems to be missing several HWCAP tags.
### My system, a Toshiba Tecra M5, supports the following:
###
$ isainfo -v
64-bit amd64 applications
ssse3 cx16 mon sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
ssse3 ahf cx16 mon sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu
$ psrinfo -vp
The physical processor has 2 virtual processors (0 1)
x86 (GenuineIntel 6F6 family 6 model 15 step 6 clock 2000 MHz)
Intel(r) Core(tm)2 CPU T7200 @ 2.00GHz
###
### I'll leave the b107 in it's current 'broken' state in case anyone needs
more information from me
### The next step would be to delete the b107 boot environment and try the
image-update again but using the "-v" flag to see if we get any new information
###
--
This message posted from opensolaris.org
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss