On 1/15/2013 5:14 PM, Cook, Rich wrote:
> Hello, Finksters,
>
> I have two related questions.
>
> 1)  If I need to install /sw/lib/libsomething.so, is there a command
> I can run to see if it's contained in a fink package and which
> package I therefore need to install?

There's no official way to know what package includes a file you're 
interested in.  Unofficially, the file lists for the last buildworld I 
ran on the 10.4 tree are available in searchable mode here:

http://www.snaggledworks.com/fink/buildworld/2010-08-14/search.html

This is from 2.5 years ago, so many new packages have been created since 
then which won't show up in the results, but it is a starting point.

http://www.snaggledworks.com/fink/buildworld/2012-05-07/search.html has 
the 10.7 archive.

> 2)  If /sw/lib/libsomething.so is already installed, is there a way
> to query to see what package it belongs to?  Kind of like rpm -qf ?

dpkg -S <string> will tell you what packages have an installed file that 
includes <string> in its name.

Hanspeter

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to