source: general/genutils/unixodbc.xml@ 24ac3c20

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 24ac3c20 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 19 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

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