[unixODBC-support] help

Nick Gorham nick at lurcher.org
Mon May 21 08:19:21 BST 2012


On 21/05/2012 04:57, sebastian.perera at cenitex.vic.gov.au wrote:
>
>
>
>
> From: Sebastian Perera/CENITEX/VICGOV1
> To: unixodbc-support at mailman.unixodbc.org
> Date: 21/05/2012 11:49 AM
> Subject: Issue with ODBC connector
> ------------------------------------------------------------------------
>
>
> Could you please help,
>
> Server : Sun Solaris 5.10 (64 bit)
> I have installed MySql ODBC Driver using the download
> mysql-connector-odbc-5.1.11-solaris10-sparc-64bit.pkg (so this is
> 64bit). I have also installed the unixODBC driver manager
> unixODBC-2.3.1. All installation went fine. But when I want to test a
> connection I get the following error.
>
> isql -v MySQL
> [01000][unixODBC][Driver Manager]Can't open lib
> '/opt/mysql/myodbc5/lib/libmyodbc5.so' : file not found
> [ISQL]ERROR: Could not SQLConnect

The version number of the driver manager are 2 now, the mysql libs are 
linked against 1,

The simple solution is to cretae a link from 
/usr/local/lib/libodbcinst.so.2 or wherever it is to libodbcinst.so.1

And the same for libodbc.so.1
>
>
> Then after doing a lot of research on the net I did the following
> WITHOUT any success.
> Set the ENV variable ODBCINSTINI
> Set the LD_LIBRARY_PATH=/usr/local/lib
>
> When I did the following
> ldd /opt/mysql/myodbc5/lib/libmyodbc5.so
>        libsocket.so.1 =>        /lib/64/libsocket.so.1
>        libnsl.so.1 =>   /lib/64/libnsl.so.1
>        libodbc.so.1 =>  (file not found)
>        libodbcinst.so.1 =>      (file not found)

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20120521/571f2ba9/attachment.html>


More information about the unixODBC-support mailing list