delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/05/21:21:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 5 Sep 2005 21:20:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Barry Demchak <vendors AT tpsoft DOT com>
cc: cygwin AT cygwin DOT com, Barry Demchak <bdemchak AT tpsoft DOT com>
Subject: Re: Very basic version command
In-Reply-To: <6.2.0.14.2.20050905154558.033f0610@mail.tpsoft.com>
Message-ID: <Pine.GSO.4.63.0509052115410.504@slinky.cs.nyu.edu>
References: <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20050905151134 DOT 0336dfb8 AT mail DOT tpsoft DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0509051816580 DOT 504 AT slinky DOT cs DOT nyu DOT edu> <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20050905154558 DOT 033f0610 AT mail DOT tpsoft DOT com>
MIME-Version: 1.0

Ugh, top-posting.  Reformatted...

On Mon, 5 Sep 2005, Barry Demchak wrote:

> At 03:31 PM 9/5/2005, Igor Pechtchanski wrote:
> > On Mon, 5 Sep 2005, Barry Demchak wrote:
> >
> > > Hi, all --
> > >
> > > Sorry for submitting something so silly.
> > >
> > > Question: What is the command for finding out the version of a
> > > library installed on Cygwin?
> >
> > It's easy to find out the version of an official Cygwin package that
> > supplies a given library.  If you know the name of the package (say,
> > "libfoo"), simply run "cygcheck -cd libfoo".  If you don't know the
> > package that supplies it, but know the name of the library (say,
> > /usr/lib/libfoo.a), run "cygcheck -f /usr/lib/libfoo.a" -- it will
> > tell you both the package and the version.
> >
> > > I'm trying to find out what version of the librsvg library I'm
> > > using.
> >
> > AFAICS, there is no librsvg in the cygwin distribution.  If it was a
> > typo, the above recipe should work for the actual library name.  If
> > you actually do have a librsvg on your machine, I don't know of a
> > general way to do what you want.
>
> Thanks, Igor --
>
> I have not yet been able to make cygcheck work,

Huh?  Out of curiosity, exactly what kinds of problems did you have with
cygcheck?

> [snip pkg-config info]
> $ pkg-config --cflags librsvg-2.0
> -I/usr/local/include/librsvg-2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Bingo!  It's not a standard Cygwin package, and thus cygcheck will not
help you here...

> Anything is easy once we already know the answer.
> Woof.
>
> I'm guessing that cygcheck couldn't work for librsvg because it's not a
> cygwin library and not in the cygwin registry ... a naive guess ...
> maybe it's right??

Yep, cygcheck's "-c" and "-f" flags only work for packages installed with
the Cygwin installer.  Anything you compile from source is not going to be
visible to cygcheck.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019