source: general/genutils/unixodbc.xml@ e1e58be

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 e1e58be was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 7 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 9.3 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 " ">
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 &lfs120_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> and
81 <xref linkend="pth"/>
82 </para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of unixODBC</title>
88
89 <para>
90 Install <application>unixODBC</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>./configure --prefix=/usr \
95 --sysconfdir=/etc/unixODBC &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 This package does not come with a test suite.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install &amp;&amp;
107
108find doc -name "Makefile*" -delete &amp;&amp;
109chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* &amp;&amp;
110
111install -v -m755 -d /usr/share/doc/unixODBC-&unixodbc-version; &amp;&amp;
112cp -v -R doc/* /usr/share/doc/unixODBC-&unixodbc-version;</userinput></screen>
113
114 </sect2>
115
116 <sect2 role="commands">
117 <title>Command Explanations</title>
118
119 <para>
120 <option>--enable-drivers</option>: This parameter enables building
121 the drivers that were installed by default in previous versions.
122 </para>
123
124 <para>
125 <option>--enable-drivers-conf</option>: This parameter enables
126 building the driver configuration libraries that were installed
127 by default in previous versions.
128 </para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring unixODBC</title>
134
135 <sect3 id="unixodbc-config">
136 <title>Config Files</title>
137 <para>
138 <filename>/etc/unixODBC/*</filename>
139 </para>
140
141 <indexterm zone="unixodbc unixodbc-config">
142 <primary sortas="e-etc-unixODBC-">/etc/unixODBC/*</primary>
143 </indexterm>
144 </sect3>
145
146 <sect3><title>Configuration Information</title>
147
148 <para>
149 The files in <filename class='directory'>/etc/unixODBC</filename>
150 are meant to be configured by the system administrator (or the ODBC site
151 administrator if appropriate privileges are granted to
152 <filename class='directory'>/etc/unixODBC</filename>). These files
153 are not meant to be directly edited. The ODBC installer library is
154 responsible for reading and writing the
155 <application>unixODBC</application> config files.
156 </para>
157
158 <para>
159 Unfortunately, there are not many <command>man</command>, or any
160 <command>info</command> pages for the various programs available in the
161 <application>unixODBC</application> package. Along with the information
162 in the <quote>Short Descriptions</quote> below and the documentation
163 installed in <filename
164 class='directory'>/usr/share/doc/unixODBC-&unixodbc-version;</filename>,
165 there are many <filename>README</filename> files throughout the source
166 tree where the use and functionality of the programs can be found.
167 Additionally, you can use the parameter <option>-?</option> for syntax
168 and usage information. Lastly, the <application>unixODBC</application>
169 web site at <ulink url="http://www.unixodbc.org/"/> has very good
170 information.
171 </para>
172
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg>
187 dltest, isql, iusql, odbc_config, odbcinst, and slencheck
188 </seg>
189 <seg>
190 libodbc.so, libodbccr.so, and libodbcinst.so
191 </seg>
192 <seg>
193 /etc/unixODBC and
194 /usr/share/doc/unixODBC-&unixodbc-version;
195 </seg>
196 </seglistitem>
197 </segmentedlist>
198
199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
203
204 <varlistentry id="dltest">
205 <term><command>dltest</command></term>
206 <listitem>
207 <para>
208 is a utility used to check a shared library to see if it can be
209 loaded and if a given symbol exists in it
210 </para>
211 <indexterm zone="unixodbc dltest">
212 <primary sortas="b-dltest">dltest</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="isql">
218 <term><command>isql</command></term>
219 <listitem>
220 <para>
221 is a utility which can be used to submit SQL to a data source and
222 to format/output results. It can be used in batch or interactive
223 mode
224 </para>
225 <indexterm zone="unixodbc isql">
226 <primary sortas="b-isql">isql</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="iusql">
232 <term><command>iusql</command></term>
233 <listitem>
234 <para>
235 provides the same functionality as the <command>isql</command>
236 program
237 </para>
238 <indexterm zone="unixodbc iusql">
239 <primary sortas="b-iusql">iusql</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 <varlistentry id="odbc_config">
245 <term><command>odbc_config</command></term>
246 <listitem>
247 <para>
248 is used to find out details about the installation of
249 the <application>unixODBC</application> package
250 </para>
251 <indexterm zone="unixodbc odbc_config">
252 <primary sortas="b-odbc_config">odbc_config</primary>
253 </indexterm>
254 </listitem>
255 </varlistentry>
256
257 <varlistentry id="odbcinst">
258 <term><command>odbcinst</command></term>
259 <listitem>
260 <para>
261 is a utility created for install script/RPM writers. It is a
262 command line interface to key functionality in the
263 <filename class="libraryfile">libodbcinst</filename> library. It does
264 not copy any files (i.e., libraries) but it will modify the ODBC
265 System Information for the user
266 </para>
267 <indexterm zone="unixodbc odbcinst">
268 <primary sortas="b-odbcinst">odbcinst</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="slencheck">
274 <term><command>slencheck</command></term>
275 <listitem>
276 <para>
277 is a utility which attempts to check whether an ODBC driver
278 was built with 32-bit or 64-bit SQLLEN types
279 </para>
280 <indexterm zone="unixodbc slencheck">
281 <primary sortas="b-slencheck">slencheck</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286
287 </variablelist>
288
289 </sect2>
290
291</sect1>
Note: See TracBrowser for help on using the repository browser.