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

Re: odbc_config missing



On Wed 20 Jul 2022 at 14:35:37 (-0500), Igor Korot wrote:
> On Wed, Jul 20, 2022 at 2:24 PM Reco <recoverym4n@enotuniq.net> wrote:
> > On Wed, Jul 20, 2022 at 12:41:03PM -0500, Igor Korot wrote:
> > > On Wed, Jul 20, 2022 at 12:09 PM Reco <recoverym4n@enotuniq.net> wrote:
> > > > On Wed, Jul 20, 2022 at 10:40:45AM -0500, Igor Korot wrote:
> > > > > I tried to run
> > > > >
> > > > > pkg-config --libs unixodbc
> > > > >
> > > > > and it fails.
> > > >
> > > > apt install unixodbc-dev
> > >
> > > It is installed and its the latest version...
> >
> > I see the problem. What you should actually execute is:
> >
> > pkg-config --libs odbc
> >
> > Or maybe:
> >
> > pkg-config --libs odbcinst
> 
> Will try them when I get home.
> 
> But that actually means that maintaining compatibility
> between different distributions is a nightmare. ;-)
> (No offense - I'm not trying to be rude)

I wouldn't know. I just type a pkg-config command line into
a search engine, and it turned up "Guide to pkg-config -
FreeDesktop.Org" which points to:
https://people.freedesktop.org/~dbn/pkg-config-guide.html

That page says that each library comes with a <name>.pc file,
so I looked at the Debian packages page for unixodbc-dev
and saw that there were three .pc files. Perhaps these are
the names of the libraries that are being configured (or
is it 'quizzed about their configuration').

Cheers,
David.


Reply to: