iodbc-config(1)
β¨ iodbc-config(1) β¨ β the iODBC Driver Manager tea π
okay so bestie, welcome to the iodbc-config manpage, it's giving "iODBC Driver Manager" and it's here to spill literally all the flags πΈ
π NAME π
iodbc-config β a script to get information about the installed version of iODBC
π SYNOPSIS π
iodbc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version]
[--cflags] [--libs] [--static-libs] [--libtool-libs] [--odbcini]
[--odbcinstini]
π DESCRIPTION π
iodbc-config is that girl π
she's a tool you use to configure stuff β specifically, she figures out the compiler and linker flags you need so you can compile and link programs that use iODBC. no cap, she just tells you what flags to pass. iconic behavior.
β¨ OPTIONS β¨
iodbc-config accepts the following options, and yes we're doing all of them, no skipping π«Ά
--versionβ prints the currently installed version of iODBC straight to standard output. flex check π’--cflagsβ prints the compiler flags that are necessary to compile an iODBC program. your compiler NEEDS these, bestie.--libsβ prints the linker flags that are necessary to link an iODBC program using dynamic libraries (if supported). "if supported" β lowkey conditional, pay attention π--static-libsβ prints the linker flags that are necessary to link an iODBC program using static libraries.--libtool-libsβ prints the linker flags that are necessary to link an iODBC program in a libtool environment.--odbciniβ prints the path of the system wideodbc.inifile.--odbcinstiniβ prints the path of the system wideodbcinst.inifile.--prefix[=PREFIX]β if you specify it, use PREFIX instead of the installation prefix that iODBC was built with when it computes the output for the--cflagsand--libsoptions. this option is also used for the exec prefix if--exec-prefixwas not specified. β οΈ and listen β this option must be specified before any--libsor--cflagsoptions. order matters, fr fr.- if PREFIX is not specified, the
--prefixflag shows where iODBC is currently installed. cute little "where am i" moment π¦
- if PREFIX is not specified, the
--exec-prefix=PREFIXβ if you specify it, use PREFIX instead of the installation exec prefix that iODBC was built with when it computes the output for the--cflagsand--libsoptions. β οΈ this option must be specified before any--libsor--cflagsoptions. same energy, same rule.
π§ EXAMPLES π§
so to compile a program that calls the iODBC API, make sure the iodbc-config program can be found in the PATH environment variable β do that before you use the following Makefile fragment:
CFLAGS=`iodbc-config --cflags`
LDLIBS=`iodbc-config --libs`
iodbctest: iodbctest.c
cc $(CFLAGS) -o iodbctest iodbctest.c $(LDLIBS)
she ate, honestly π₯
π COPYRIGHT π
Copyright Β© 1996-2023 OpenLink Software
π AUTHOR π
iODBC Administrator <iodbc@openlinksw.com>
and that's the whole page bestie, no crumbs left π this was iodbc-config(1) from iODBC Driver Manager, version 3.52.16, dated 16 June 2004 β periodt. πβ¨π¦
π¦ where this page comes from
- arch rolling: libiodbc 3.52.16-3 Β· LGPL-2.0-or-later
- epel 10: libiodbc-devel 3.52.16-1.el10_1 Β· LGPL-2.0-only OR BSD-3-Clause
- fedora 43: libiodbc-devel 3.52.16-3.fc43 Β· LGPL-2.0-only OR BSD-3-Clause
- fedora 43: libiodbc-devel 3.52.16-3.fc43 Β· LGPL-2.0-only OR BSD-3-Clause
- fedora 44: libiodbc-devel 3.52.16-4.fc44 Β· LGPL-2.0-only OR BSD-3-Clause
- fedora 44: libiodbc-devel 3.52.16-4.fc44 Β· LGPL-2.0-only OR BSD-3-Clause
- nixos 26.05: libiodbc 3.52.16
- nixpkgs unstable: libiodbc 3.52.16
- opensuse-leap 16.0: libiodbc-devel 3.52.16-bp160.1.13 Β· BSD-3-Clause OR LGPL-2.0-only
- opensuse-leap 16.0: libiodbc-devel 3.52.16-bp160.1.13 Β· BSD-3-Clause OR LGPL-2.0-only
- opensuse-leap 16.0: libiodbc-devel 3.52.16-bp160.1.13 Β· BSD-3-Clause OR LGPL-2.0-only
- opensuse-leap 16.0: libiodbc-devel 3.52.16-bp160.1.13 Β· BSD-3-Clause OR LGPL-2.0-only
- ubuntu resolute: libiodbc2-dev 3.52.16-2
- ubuntu stonking: libiodbc2-dev 3.52.16-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms