Re: Bug #799: configure does not check for -lodbcinst - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Bug #799: configure does not check for -lodbcinst
Date
Msg-id Pine.LNX.4.44.0210181845280.928-100000@localhost.localdomain
Whole thread Raw
In response to Bug #799: configure does not check for -lodbcinst  (pgsql-bugs@postgresql.org)
List pgsql-bugs
> When configure is run with
>     ./configure --enable-odbc --with-unixodbc
> it does not verify that -lodbcinst works.  The absence of this
> library (or misarranged symbolic links, etc.) is not detected
> until relatively far into the build, when the ODBC driver is
> actually compiled.  Better, imho, to check at configure time
> so the user can fix the problem without investing time in a
> build process which will fail.

It is not the job of the configure script to predict inevitable build
failures.  If we did that then it would take a lot longer to run it than
just starting the build and seeing it fail.  Moreover, note that you can
just install the missing library and continue the build were it stopped.

--
Peter Eisentraut   peter_e@gmx.net

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Pg 7.2.3 int8 value out of range
Next
From: Brian Macy
Date:
Subject: Re: Pg 7.2.3 int8 value out of range