odbc_config(1)
π odbc_config(1) β the unixODBC manual page, but make it make sense π
okay bestie, so odbc_config lives in the unixODBC manual pages, and she's about to become your new fave. no cap.
β¨ NAME β¨
odbc_config β generates compiler information intended for use when developing a unixODBC client π«Ά
β¨ 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 β¨
so basically odbc_config spills the tea about how unixODBC was compiled for your specific system and architecture. it's giving "personalized info dump" π
and the info it generates? super useful for building unixODBC clients and similar programs. like, if you're compiling something that talks to unixODBC, this is your girl. periodt. π₯
β¨ OPTIONS β¨
--prefixβ the prefix for architecture-independent files πΈ--exec-prefixβ the prefix for architecture-dependent files π--include-prefixβ the directory holding the C header files for unixODBC π--lib-prefixβ the directory holding unixODBC shared libraries π¦--bin-prefixβ the directory holding unixODBC utilities β--versionβ the current version of unixODBC, iykyk π--libsβ compiler flags for linking dynamic libraries π₯--static-libsβ the absolute file name of the unixODBC static library (libodbc.a) π--libtool-libsβ the absolute file name of the unixODBC libtool library (libodbc.la) π§--cflagsβ outputs compiler flags to find header files, plus the critical compiler flags and defines used when compiling thelibodbclibrary. the way that it does both?? iconic π--odbcversionβ the version of the ODBC specification that unixODBC uses π--odbciniβ the absolute file name of the system-wide DSN configuration fileodbc.iniπ--odbcinstiniβ the absolute file name of the unixODBC driver configuration fileodbcinst.iniπ--headerβ definitions of C preprocessor constants used by unixODBC. and bestie, the generated output can be piped straight into a C header file β chef's kiss β¨--ulenβ the compiler flag that definesSIZEOF_SQLULENπ
β¨ SEE ALSO β¨
unixODBC(7)odbcinst.ini(5)odbc.ini(5)- "The unixODBC Administrator Manual (HTML)"
β¨ AUTHORS β¨
the authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@lurcher.org>. legends, fr fr π
for a full list of contributors, refer to the AUTHORS file π«Ά
β¨ COPYRIGHT β¨
unixODBC is licensed under the GNU Lesser General Public License. for details about the license, see the COPYING file π
ok that's the whole page, you're welcome π go forth and build something cute
this was version 2.3.12, dated Thu 07 Jan 2021 β mwah, slay, bye bestie πΈβ¨
π¦ where this page comes from
- alpine 3.22: unixodbc-doc 2.3.12-r0 Β· LGPL-2.0-or-later
- alpine 3.23: unixodbc-doc 2.3.14-r0 Β· LGPL-2.0-or-later
- alpine 3.24: unixodbc-doc 2.3.14-r1 Β· LGPL-2.0-or-later
- arch rolling: unixodbc 2.3.14-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 10: unixODBC 2.3.12-6.el10 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 9: unixODBC 2.3.12-2.el9 Β· GPLv2+ and LGPLv2+
- centos-stream 9: unixODBC 2.3.12-2.el9 Β· GPLv2+ and LGPLv2+
- fedora 43: unixODBC 2.3.12-7.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.12-7.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.14-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 43: unixODBC 2.3.14-2.fc43 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: unixODBC 2.3.14-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: unixODBC 2.3.14-3.fc44 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- nixos 26.05: unixodbc 2.3.14
- nixpkgs unstable: unixodbc 2.3.14
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: unixODBC 2.3.12-160000.2.2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms