> My notes tell me that the canonical way to tell what package a given
> file comes from is "pkgchk -l -p <file>" But, this seems to fail for 64bit
libraries. Observe:
>
> bash-3.2# pkgchk -l -p /lib/libmd.so.1
> Pathname: /lib/libmd.so.1
> Type: regular file
> Expected mode: 0755
> Expected owner: root
> Expected group: bin
> Expected file size (bytes): 81908
> Expected sum(1) of contents: 25521
> Expected last modification: Aug 08 13:52:28 2008
> Referenced by the following packages:
> SUNWcslr
> Current status: installed
>
> bash-3.2# pkgchk -l -p /lib/64/libmd.so.1
> bash-3.2# echo $?
> 0
> bash-3.2#
>
> Is there some other way? Is this a bug in something?
/lib/64 is a symbolic link to the /lib/amd64 source:
# pkgchk -l -p /lib/64
Pathname: /lib/64
Type: symbolic link
Source of link: amd64
Referenced by the following packages:
SUNWcslr
Current status: installed
So:
# pkgchk -l -p /lib/amd64/libmd.so.1
Pathname: /lib/amd64/libmd.so.1
Type: regular file
Expected mode: 0755
Expected owner: root
Expected group: bin
Expected file size (bytes): 56256
Expected sum(1) of contents: 30578
Expected last modification: Sep 20 01:44:51 2008
Referenced by the following packages:
SUNWcslr
Current status: installed
--
julien.
http://blog.thilelli.net/