source: general/genutils/unixodbc.xml@ 427b46a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 427b46a was 66d551c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag a lot of utilities and libraries

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24245 af4574ff-66df-0310-9fd7-8a98e5e911e0

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