Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

odbc_config(1) [centos man page]

odbc_config(1)						       UnixODBC manual pages						    odbc_config(1)

NAME
odbc_config - get compile options for compiling 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
odbc_config provides built-in options, specified at build time of the unixODBC suite, which are useful for building unixODBC clients and similar programs. OPTIONS
--prefix Prefix for architecture-independent file tree. --exec-prefix Prefix for architecture-dependent file tree. --include-prefix Directory with C header files for unixODBC. --lib-prefix Directory with object code (.so) libraries. --bin-prefix Location of user executables. --version unixODBC version. --libs Compiler flags for linking dynamic libraries. --static-libs Absolute file name of static unixODBC library. --libtool-libs Absolute file name of libtool unixODBC library. --cflags Compiler flags to find include files and critical compiler flags and defines used when compiling the libodbc library. --odbcversion Version of the ODBC specification used by the unixODBC. --odbcini Absolute file name of the system-wide DSN configuration file odbc.ini. --odbcinstini Absolute file name of the driver configuration file odbcinst.ini. --header Definitions of used C preprocessor constants. It is suitable to be piped into C header file. --ulen Compiler flag for defining SIZEOF_SQLULEN. SEE ALSO
odbcinst.ini(5), odbc.ini(5) AUTHORS
The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@easysoft.com>. For the full list of contributors see the AUTHORS file. COPYRIGHT
unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file. version 2.3.1 Thu 13 Feb 2014 odbc_config(1)

Check Out this Related Man Page

odbcinst(1)						       unixODBC manual pages						       odbcinst(1)

NAME
odbcinst - An unixODBC tool for manipulating configuration files SYNOPSIS
odbcinst ACTION OBJECT OPTIONS DESCRIPTION
odbcinst is a command line tool which has been created for allowing people who are developing the install scripts/RPMs for Drivers to be able to easily create/remove entries in odbc.ini and odbcinst.ini. This command line tool is a complement to the shared library of the same name (libodbcinst.so). This tool is a part of the odbcinst component of unixODBC. OPTIONS
ACTIONS -i Install (add section to config file) new OBJECT. -u Uninstall (remove section from config file) existing OBJECT. -q Query the config files and print the options for specified OBJECT. -j Prints current configuration of unixODBC, listing (among others) the paths to the configuration files. -c Calls SQLCreateDataSource -m Calls SQLManageDataSources --version Prints program version and exits. OBJECTS -d The ACTION affect drivers (and thus the odbcinst.ini configuration file). -s The ACTION affect data sources (and thus the user or system odbc.ini configuration file). OPTIONS -f FILE The FILE is template file, describing the configuration of installed OBJECT (only valid for the -i ACTION). -r Same as the -f OPTION, only take the standard input as the template file. -n NAME Specifies the NAME of the OBJECT. -v Turn off verbose mode. This turns off all information, warning and error messages. -l The specified data source is system-wide. Has any effect only with the -s OBJECT. -h The specified data source is user-specific. Has any effect only with the -s OBJECT. RETURN VALUES
This command returns zero on success and non-zero value on failure. FILES
/etc/odbinst.ini Configuration file containing all the database drivers specifications. See odbcinst.ini(5) for more details. /etc/odbc.ini System-wide data sources specifications. See odbc.ini(5) for more details. $HOME/.odbc.ini User-specific data sources specifications. See odbc.ini(5) for more details. SEE ALSO
odbcinst.ini(5), odbc.ini(5) AUTHORS
The authors of unixODBC are Peter Harvey <pharvey@codebydesign.com> and Nick Gorham <nick@easysoft.com>. For the full list of contributors see the AUTHORS file. COPYRIGHT
unixODBC is licensed under the GNU Lesser General Public License. For details about the license, see the COPYING file. version 2.3.1 Wed 26 Jun 2013 odbcinst(1)
Man Page