source: general/genutils/unixodbc.xml@ c8b719a

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since c8b719a was c8b719a, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Tags

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