source: general/genutils/unixodbc.xml

trunk
Last change on this file was 5d0e7b8, checked in by Douglas R. Reno <renodr@…>, 2 months ago

A bunch of tags

  • Property mode set to 100644
File size: 9.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY unixodbc-download-http "https://github.com/lurcher/unixODBC/releases/download/&unixodbc-version;/unixODBC-&unixodbc-version;.tar.gz">
8 <!ENTITY unixodbc-download-ftp " ">
9 <!ENTITY unixodbc-md5sum "d62167d85bcb459c200c0e4b5a63ee48">
10 <!ENTITY unixodbc-size "1.7 MB">
11 <!ENTITY unixodbc-buildsize "28 MB">
12 <!ENTITY unixodbc-time "0.2 SBU (using parallelism=4)">
13]>
14
15<sect1 id="unixodbc" xreflabel="unixODBC-&unixodbc-version;">
16 <?dbhtml filename="unixodbc.html"?>
17
18
19 <title>unixODBC-&unixodbc-version;</title>
20
21 <indexterm zone="unixodbc">
22 <primary sortas="a-unixODBC">unixODBC</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to unixODBC</title>
27
28 <para>
29 The <application>unixODBC</application> package is an Open Source
30 ODBC (Open DataBase Connectivity) sub-system and an ODBC SDK for Linux, Mac
31 OSX, and UNIX. ODBC is an open specification for providing application
32 developers with a predictable API with which to access data sources. Data
33 sources include optional SQL Servers and any data source with an ODBC Driver.
34 <application>unixODBC</application> contains the following components used
35 to assist with the manipulation of ODBC data sources: a driver manager, an
36 installer library and command line tool, command line tools to help install
37 a driver and work with SQL, drivers and driver setup libraries.
38 </para>
39
40 &lfs121_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&unixodbc-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&unixodbc-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &unixodbc-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &unixodbc-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &unixodbc-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &unixodbc-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">unixODBC Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <ulink url="https://hughestech.com.au/products/msql/">Mini SQL</ulink>
81 </para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of unixODBC</title>
87
88 <para>
89 Install <application>unixODBC</application> by running the following
90 commands:
91 </para>
92
93<screen><userinput>./configure --prefix=/usr \
94 --sysconfdir=/etc/unixODBC &amp;&amp;
95make</userinput></screen>
96
97 <para>
98 This package does not come with a test suite.
99 </para>
100
101 <para>
102 Now, as the <systemitem class="username">root</systemitem> user:
103 </para>
104
105<screen role="root"><userinput>make install &amp;&amp;
106
107find doc -name "Makefile*" -delete &amp;&amp;
108chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &amp;&amp;
109
110install -v -m755 -d /usr/share/doc/unixODBC-&unixodbc-version; &amp;&amp;
111cp -v -R doc/* /usr/share/doc/unixODBC-&unixodbc-version;</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para>
119 <option>--enable-drivers</option>: This parameter enables building
120 the drivers that were installed by default in previous versions.
121 </para>
122
123 <para>
124 <option>--enable-drivers-conf</option>: This parameter enables
125 building the driver configuration libraries that were installed
126 by default in previous versions.
127 </para>
128
129 </sect2>
130
131 <sect2 role="configuration">
132 <title>Configuring unixODBC</title>
133
134 <sect3 id="unixodbc-config">
135 <title>Config Files</title>
136 <para>
137 <filename>/etc/unixODBC/*</filename>
138 </para>
139
140 <indexterm zone="unixodbc unixodbc-config">
141 <primary sortas="e-etc-unixODBC-">/etc/unixODBC/*</primary>
142 </indexterm>
143 </sect3>
144
145 <sect3><title>Configuration Information</title>
146
147 <para>
148 The files in <filename class='directory'>/etc/unixODBC</filename>
149 are meant to be configured by the system administrator (or the ODBC site
150 administrator if appropriate privileges are granted to
151 <filename class='directory'>/etc/unixODBC</filename>). These files
152 are not meant to be directly edited. The ODBC installer library is
153 responsible for reading and writing the
154 <application>unixODBC</application> config files.
155 </para>
156
157 <para>
158 Unfortunately, there are not many <command>man</command>, or any
159 <command>info</command> pages for the various programs available in the
160 <application>unixODBC</application> package. Along with the information
161 in the <quote>Short Descriptions</quote> below and the documentation
162 installed in <filename
163 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
164 there are many <filename>README</filename> files throughout the source
165 tree where the use and functionality of the programs can be found.
166 Additionally, you can use the parameter <option>-?</option> for syntax
167 and usage information. Lastly, the <application>unixODBC</application>
168 web site at <ulink url="http://www.unixodbc.org/"/> has very good
169 information.
170 </para>
171
172 </sect3>
173
174 </sect2>
175
176 <sect2 role="content">
177 <title>Contents</title>
178
179 <segmentedlist>
180 <segtitle>Installed Programs</segtitle>
181 <segtitle>Installed Libraries</segtitle>
182 <segtitle>Installed Directories</segtitle>
183
184 <seglistitem>
185 <seg>
186 dltest, isql, iusql, odbc_config, odbcinst, and slencheck
187 </seg>
188 <seg>
189 libodbc.so, libodbccr.so, and libodbcinst.so
190 </seg>
191 <seg>
192 /etc/unixODBC and
193 /usr/share/doc/unixODBC-&unixodbc-version;
194 </seg>
195 </seglistitem>
196 </segmentedlist>
197
198 <variablelist>
199 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
200 <?dbfo list-presentation="list"?>
201 <?dbhtml list-presentation="table"?>
202
203 <varlistentry id="dltest">
204 <term><command>dltest</command></term>
205 <listitem>
206 <para>
207 is a utility used to check a shared library to see if it can be
208 loaded and if a given symbol exists in it
209 </para>
210 <indexterm zone="unixodbc dltest">
211 <primary sortas="b-dltest">dltest</primary>
212 </indexterm>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry id="isql">
217 <term><command>isql</command></term>
218 <listitem>
219 <para>
220 is a utility which can be used to submit SQL to a data source and
221 to format/output results. It can be used in batch or interactive
222 mode
223 </para>
224 <indexterm zone="unixodbc isql">
225 <primary sortas="b-isql">isql</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="iusql">
231 <term><command>iusql</command></term>
232 <listitem>
233 <para>
234 provides the same functionality as the <command>isql</command>
235 program
236 </para>
237 <indexterm zone="unixodbc iusql">
238 <primary sortas="b-iusql">iusql</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="odbc_config">
244 <term><command>odbc_config</command></term>
245 <listitem>
246 <para>
247 is used to find out details about the installation of
248 the <application>unixODBC</application> package
249 </para>
250 <indexterm zone="unixodbc odbc_config">
251 <primary sortas="b-odbc_config">odbc_config</primary>
252 </indexterm>
253 </listitem>
254 </varlistentry>
255
256 <varlistentry id="odbcinst">
257 <term><command>odbcinst</command></term>
258 <listitem>
259 <para>
260 is a utility created for install script/RPM writers. It is a
261 command line interface to key functionality in the
262 <filename class="libraryfile">libodbcinst</filename> library. It does
263 not copy any files (i.e., libraries) but it will modify the ODBC
264 System Information for the user
265 </para>
266 <indexterm zone="unixodbc odbcinst">
267 <primary sortas="b-odbcinst">odbcinst</primary>
268 </indexterm>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry id="slencheck">
273 <term><command>slencheck</command></term>
274 <listitem>
275 <para>
276 is a utility which attempts to check whether an ODBC driver
277 was built with 32-bit or 64-bit SQLLEN types
278 </para>
279 <indexterm zone="unixodbc slencheck">
280 <primary sortas="b-slencheck">slencheck</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285
286 </variablelist>
287
288 </sect2>
289
290</sect1>
Note: See TracBrowser for help on using the repository browser.