[unixODBC-support] unixODBC-devel package

Ted.Davis at bedbath.com Ted.Davis at bedbath.com
Mon Mar 26 19:55:37 BST 2012


Nick -

It seems that the last version that gets installed is the active version.
If not, please explain the following.  The documentation says that unixodbc
gets installed in /usr/local.  There is a /usr/local/lib and
a /usr/local/lib64.  The directories /usr/local/bin and /usr/local/include
also get updated during the install.

Look at the output of the below command...

./odbc_config --static-libs
/usr/local/lib/libodbc.a  (32-bit library)

./odbc_config --libtool-libs
/usr/local/lib/libodbc.la  (32-bit library)

cd /usr/local/bin
file isql
isql: ELF 32-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped

** Now, when I install the 64-bit version (export CFLAGS=-m64, configure
--libdir=/usr/local/lib64, make, make install), I get the following
output....

./odbc_config --static-libs
/usr/local/lib64/libodbc.a (64-bit library)

./odbc_config --libtool-libs
/usr/local/lib64/libodbc.la  (64-bit library)

cd /usr/local/bin
file isql
isql: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped

./odbc_config --version
2.3.1  (Always returns this, doesn't say whether it is the 64-bit or 32-bit
package)


********************************************
Ted Davis
Bed Bath & Beyond
Server Administration Team - UNIX
908-855-4027
********************************************



From:	Nick Gorham <nick at lurcher.org>
To:	Support for the unixODBC project
            <unixodbc-support at mailman.unixodbc.org>,
Date:	03/26/2012 01:52 PM
Subject:	Re: [unixODBC-support] unixODBC-devel package
Sent by:	unixodbc-support-bounces at mailman.unixodbc.org



On 26/03/2012 18:39, Ted.Davis at bedbath.com wrote:


      Hello -

      I downloaded the 2.3 source file (unixODBC-2.3.1.tar.gz) and
      installed both 32-bit and 64-bit versions of unixODBC.

      Where can I get the (post 2.2.11) unixODBC-devel package (is it even
      available) from and how can I verify that all packages (32-bit and
      64-bit) are installed ?

      Thanks in advance for your help.



It don;t know if someone has built one. But you have the headers and libs
that are in the devel package. The make install will put them in place.

Check that you have isql, in the 64 and 32bit versions, and odbc-config can
be used to check versions

--
Nick_______________________________________________
unixODBC-support mailing list
unixODBC-support at mailman.unixodbc.org
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20120326/c77b963f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20120326/c77b963f/attachment.gif>


More information about the unixODBC-support mailing list