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 the libodbc library. 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 file odbc.ini πŸ“
  • --odbcinstini β€” the absolute file name of the unixODBC driver configuration file odbcinst.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 defines SIZEOF_SQLULEN πŸ’…

✨ SEE ALSO ✨


✨ 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 🫢


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