[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pkg-config does not see a package that i installed via apt-get (libmypaint)





On Wed, Nov 13, 2019 at 9:35 AM Richard Hector <richard@walnut.gen.nz> wrote:
On 12/11/19 4:39 PM, Dan Hitt wrote:
> I installed the package libmypaint1.3.0 on my debian 10 system.

Best to copy & paste these things - I assume you mean libmypaint-1.3-0

>
> I can tell it is installed because when i run the command
> sudo apt-get install libmypaint-1.3.0

Different again :-)

> the system responds with "libmypaint-1.3-0 is already the newest version".
>
> It also says "libmypaint-1.3-0 set to manually installed", which i do
> not know how to interpret.
>
> Nevertheless, if i run the command
> pkg-config --exists --print-errors "libmypaint >= 1.3.0"
> i get the message "No package 'libmypaint' found" (and exit status 1).

Note that the package name is "libmypaint-1.3-0", not "libmypaint", so
that's what I would expect. Not that I'm familiar with pkg-config.

Richard


Hi Richard,

Thanks for your mail!

You are right that i should have used copy/paste!  Actually, i normally do exactly that, to avoid any chance of error.

Presumably there are two notions of package at work here: one with debian names and one with pkg-config names (perhaps they could be called "developer" names)?  Per The Wanderer (thanks again!) one can find the debian package name with apt-file, and per Joe P (thanks Joe!) it would probably suffice just for me to just install the developer name that pkg-config is wanting (so that the right debian package will then be installed which the pkg-config package depends on).

I appreciate everybody's help here!
dan

Reply to: