odbc_config(1)

odbc_config1

Generates compiler information intended for use when developing a unixodbc client

Usage

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

Overview

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

--prefix

Prefix for architecture-independent files.

--exec-prefix

Prefix for architecture-dependent files.

--include-prefix

Directory containing C header files for unixODBC.

--lib-prefix

Directory containing unixODBC shared libraries.

--bin-prefix

Directory containing unixODBC utilities.

--version

Current version of unixODBC.

--libs

Compiler flags for linking dynamic libraries.

--static-libs

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

--libtool-libs

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

--cflags

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

--odbcversion

Version of the ODBC specification used by unixODBC.

--odbcini

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

--odbcinstini

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

--header

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

--ulen

Compiler flag that defines SIZEOF_SQLULEN.

Authors

The authors of unixODBC are Peter Harvey <[email protected]> and Nick Gorham <[email protected]>.

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

From unixodbc 2.3.14-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.