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

Re: odbc_config missing



Hi,

On Wed, Jul 20, 2022 at 2:04 PM Greg Wooledge <greg@wooledge.org> wrote:
>
> On Wed, Jul 20, 2022 at 01:48:34PM -0500, Igor Korot wrote:
> > This sentence from the OP:
> >
> > [quote]
> > I just tried to compile my program and got an error about it.
> > [/quote]
> >
> > shows what I'm doing (it doesn't reference unixODBC at all, does it?)
> > and the issue I'm facing.
>
> No.  It does not.
>
> Here are two theoretical help requests.  I would like you to compare
> them:
>
>
> The first one:
> =========================================
> Please help me!  I'm trying to compile a program and it doesn't work!
> I got an error!
> =========================================
>
>
> The second one:
> =========================================
> Please help me!  I'm trying to compile moon-lander 1.2.  I'm following
> the steps in the INSTALL file, but I get this error when I type make:
>
> fred@zanzibar:~$ make
> bash: make: command not found
>
> What should I do?
> =========================================
>
>
> Try to put yourself in the position of someone reading your messages.
> How would you react, upon reading your own message, which is almost
> completely devoid of any useful information?  How would you help yourself
> based on that message?
>
> At the very least you have to tell people what the error message says.
> Do you think we can see your screen?  We can't.

How about a 3rd one?

[quote]
I am a developer and I'm trying to compile my own software.
The software depends on unixODBC.
Trying to compile I got an error that odbc_config is not found.
[/quote]

You are comparing apples and oranges here.

Like I said in the OP, I'm trying to compile my own program
not the one that has a package in the Debian distro.
>From the issue I would guess that the odbc_config script
that should tell the compiler where the include and library
should be searched is missing/not installed.

My first thought would be just like Reco, to ask if the unixODBC
or iODBC and its development package is installed on the system.

And then ask to check for pkg-config, because as a developer
those are 2 things that first come to mind.

So yes - I would help myself in that situation based on the OP message
I sent.

>


Reply to: