Summary: Which package is a library in

From: Stephen Schumacher (sls@pscc.amtrak.com)
Date: Thu Sep 14 2000 - 09:07:55 CDT


Guru's;

Thanks for the replies - got 17 including 2 "out of office" auto replies !

Most suggested doing a "grep <filename> /var/sadm/install/contents".
This is valid only if the package has been installed on the system or if
you have access to a system containing the library/package.

Other replies said use pkgchk, again, valid only if the package has already
been
installed.

I was unclear in my request as I had installed a minimum system
( Solaris 7 - core and Xwindow packages) and needed the package(s) that
contained the <filename> library.

Dave Maupin had the complete answer:
> If you have a machine with a full OS install available, grep for what
> you want in /var/sadm/install/contents.
> If you don't have a machine with a full install, then you'll need to
> use the OS install CD. Mount it and from the directory with all the
> packages (i.e.,Solaris_2.7/Product contains all the SUNW.. dirs), you
> can run something like (csh type shell syntax below):
>
> foreach i (*)
> echo $i
> grep libtypesclr $i/pkgmap
> end

This is what I did and found the needed packages - Thanks !!

Thanks to the following people for taking the time to respond:
Michael Hill, Bertrand HUTIN, Brian Scanlan, Alan Orndorff, Matthew R.
Briggs, Mathew Stier,
Changa Anderson, Joel Lee, Chuck Cox, Christopher L. Barnard, David Staggs,
Oliver Hemming,
Rob Staab, Bryan Blackburn and Dave Maupin

Steve

Original Post:
On Aug 31, 2000 13:41, Stephen Schumacher stated:
> Guru's
>
> How can I find which package contains a specific library? I am looking
for
> the package that contains the libtextsclr.so library, although there may
be
> others I'll need to find and install.
>
> I'm trying to configure a "minimum" system to run our in house
> application(s).
>
> Will summarize.
>
> TIA - Steve

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:17 CDT