source: general/genutils/unixodbc.xml@ 252e5bf

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 252e5bf was 252e5bf, checked in by Fernando de Oliveira <fernando@…>, 9 years ago
  • unixODBC-2.3.4: minor reformat.
  • qemu-2.5.0: forgot one "dot".

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16774 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 "bd25d261ca1808c947cb687e2034be81">
12 <!ENTITY unixodbc-size "1.8 MB">
13 <!ENTITY unixodbc-buildsize "34 MB">
14 <!ENTITY unixodbc-time "0.4 SBU">
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 &lfs78_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><filename>/etc/unixODBC/*</filename></para>
147
148 <indexterm zone="unixodbc unixodbc-config">
149 <primary sortas="e-etc-unixODBC-">/etc/unixODBC/*</primary>
150 </indexterm>
151 </sect3>
152
153 <sect3><title>Configuration Information</title>
154
155 <para>
156 The files in <filename class='directory'>/etc/unixODBC</filename>
157 are meant to be configured by the system administrator (or the ODBC site
158 administrator if appropriate privileges are granted to
159 <filename class='directory'>/etc/unixODBC</filename>). These files
160 are not meant to be directly edited. The ODBC installer library is
161 responsible for reading and writing the
162 <application>unixODBC</application> config files.
163 </para>
164
165 <para>
166 Unfortunately, there are no many <command>man</command> or any
167 <command>info</command> pages for the various programs available in the
168 <application>unixODBC</application> package. Along with the information
169 in the <quote>Short Descriptions</quote> below and the documentation
170 installed in <filename
171 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
172 there are many <filename>README</filename> files throughout the source
173 tree where the use and functionality of the programs can be found.
174 Additionally, you can use the parameter <option>-?</option> for syntax
175 and usage information. Lastly, the <application>unixODBC</application>
176 web site at <ulink url="http://www.unixodbc.org/"/> has very good
177 information.
178 </para>
179
180 </sect3>
181
182 </sect2>
183
184 <sect2 role="content">
185 <title>Contents</title>
186
187 <segmentedlist>
188 <segtitle>Installed Programs</segtitle>
189 <segtitle>Installed Libraries</segtitle>
190 <segtitle>Installed Directories</segtitle>
191
192 <seglistitem>
193 <seg>
194 dltest, isql, iusql, odbc_config, odbcinst, and slencheck
195 </seg>
196 <seg>
197 libodbc.so, libodbccr.so, and libodbcinst.so
198 </seg>
199 <seg>
200 /etc/unixODBC and
201 /usr/share/doc/unixODBC-&unixodbc-version;
202 </seg>
203 </seglistitem>
204 </segmentedlist>
205
206 <variablelist>
207 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
208 <?dbfo list-presentation="list"?>
209 <?dbhtml list-presentation="table"?>
210
211 <varlistentry id="dltest">
212 <term><command>dltest</command></term>
213 <listitem>
214 <para>
215 is a utility used to check a share library to see if it can be
216 loaded and if a given symbol exists in it.
217 </para>
218 <indexterm zone="unixodbc dltest">
219 <primary sortas="b-dltest">dltest</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="isql">
225 <term><command>isql</command></term>
226 <listitem>
227 <para>
228 is a utility which can be used to submit SQL to a data source and
229 to format/output results. It can be used in batch or interactive
230 mode.
231 </para>
232 <indexterm zone="unixodbc isql">
233 <primary sortas="b-isql">isql</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="iusql">
239 <term><command>iusql</command></term>
240 <listitem>
241 <para>
242 provides the same functionality as the <command>isql</command>
243 program.
244 </para>
245 <indexterm zone="unixodbc iusql">
246 <primary sortas="b-iusql">iusql</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="odbc_config">
252 <term><command>odbc_config</command></term>
253 <listitem>
254 <para>
255 is used to find out details about the installation of
256 the <application>unixODBC</application> package.
257 </para>
258 <indexterm zone="unixodbc odbc_config">
259 <primary sortas="b-odbc_config">odbc_config</primary>
260 </indexterm>
261 </listitem>
262 </varlistentry>
263
264 <varlistentry id="odbcinst">
265 <term><command>odbcinst</command></term>
266 <listitem>
267 <para>
268 is a utility created for install script/RPM writers. It is a
269 command line interface to key functionality in the
270 <filename class='libraryfile'>libodbcinst</filename> library. It does
271 not copy any files (i.e., libraries) but it will modify the ODBC
272 System Information for the user.
273 </para>
274 <indexterm zone="unixodbc odbcinst">
275 <primary sortas="b-odbcinst">odbcinst</primary>
276 </indexterm>
277 </listitem>
278 </varlistentry>
279
280 <varlistentry id="slencheck">
281 <term><command>slencheck</command></term>
282 <listitem>
283 <para>
284 is a utility which attempts to check whether an ODBC driver
285 was built with 32-bit or 64-bit SQLLEN types.
286 </para>
287 <indexterm zone="unixodbc slencheck">
288 <primary sortas="b-slencheck">slencheck</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293
294 </variablelist>
295
296 </sect2>
297
298</sect1>
Note: See TracBrowser for help on using the repository browser.