How to determine which package has a specific library?

2007-12-25 11:39:00

Hello managers,

i asked:

>is there an easy way to say which package has to be installed,

>if i need library libsomething.a or libsomething.so.1?

>

>In my special case, i wanted to run proctool and have seen, that

>on one machine libdemangle.so.1 was missing, while on another

>it was installed. So which package is missing on the first machine?

and nearly immediately got two useful answers:

1.) a file/library which is already installed

    grep for that file/library in the "install database"

    /var/sadm/install/contents

2.) a file/library which is not yet installed

    grep for that file/library on the Solaris-CD under Solaris2*/Product

    something like grep library.a */pkgmap

Both of these methods show me that i have to install SUNWlibC in my

case with libdemangle.so.1

My thanks go to

Jens Fischer <fischjns@ina.de>

OGIRAUD@cedelglobalservices.com and

Brad.Larden@solution6.com

With regards,

Bernt Christandl


--
***** Max-Planck-Institut fuer Astrophysik *****
Bernt Christandl Tel: +49 / 89 / 3299-3232
Postfach 1523 Fax: +49 / 89 / 3299-3235
Karl-Schwarzschildstrasse 1 85740 Garching
******** Email: beb@mpa-garching.mpg.de ********

Comments

Got something to say?

You must be logged in to post a comment.