odbc\_config(1) unixODBC manual pages odbc\_config(1)

# [NAME](#NAME)

odbc\_config - Generates compiler information intended for use when developing a unixODBC client

# [SYNOPSIS](#SYNOPSIS)

`odbc_config` \[**--prefix**] \[**--exec-prefix**] \[**--include-prefix**] \[**--lib-prefix**] \[**--bin-prefix**] \[**--version**] \[**--libs**] \[**--static-libs**] \[**--libtool-libs**] \[**--cflags**] \[**--odbcversion**] \[**--odbcini**] \[**--odbcinstini**] \[**--header**] \[**--ulen**]

# [DESCRIPTION](#DESCRIPTION)

**odbc\_config** provides information about how unixODBC was compiled for your system and architecture. The information generated is useful for building unixODBC clients and similar programs.

# [OPTIONS](#OPTIONS)

[--prefix](#prefix)

Prefix for architecture-independent files.

[--exec-prefix](#exec-prefix)

Prefix for architecture-dependent files.

[--include-prefix](#include-prefix)

Directory containing C header files for unixODBC.

[--lib-prefix](#lib-prefix)

Directory containing unixODBC shared libraries.

[--bin-prefix](#bin-prefix)

Directory containing unixODBC utilities.

[--version](#version)

Current version of unixODBC.

[--libs](#libs)

Compiler flags for linking dynamic libraries.

[--static-libs](#static-libs)

Absolute file name of the unixODBC static library (libodbc.a).

[--libtool-libs](#libtool-libs)

Absolute file name of the unixODBC libtool library (libodbc.la).

[--cflags](#cflags)

Outputs compiler flags to find header files, as well as critical compiler flags and defines used when compiling the libodbc library.

[--odbcversion](#odbcversion)

Version of the ODBC specification used by unixODBC.

[--odbcini](#odbcini)

Absolute file name of the system-wide DSN configuration file *odbc.ini*.

[--odbcinstini](#odbcinstini)

Absolute file name of the unixODBC driver configuration file *odbcinst.ini*.

[--header](#header)

Definitions of C preprocessor constants used by unixODBC. Generated output can be piped into a C header file.

[--ulen](#ulen)

Compiler flag that defines *SIZEOF\_SQLULEN*.

# [SEE ALSO](#SEE_ALSO)

[**unixODBC**(7)](/man/os/unixodbc/unixODBC.7), [**odbcinst.ini**(5)](/man/os/unixodbc/odbcinst.ini.5), [**odbc.ini**(5)](/man/os/unixodbc/odbc.ini.5)

"The *unixODBC Administrator Manual (HTML)*"

# [AUTHORS](#AUTHORS)

The authors of unixODBC are Peter Harvey &lt;*pharvey@codebydesign.com*&gt; and Nick Gorham &lt;*nick@lurcher.org*&gt;.

For a full list of contributors, refer to the *AUTHORS* file.

# [COPYRIGHT](#COPYRIGHT)

unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the *COPYING* file.

Thu 07 Jan 2021 version 2.3.12

---

Document: odbc_config(1) from unixodbc 2.3.14-r4 (Chainguard OS)
Source: https://github.com/lurcher/unixODBC
