[unixODBC-support] unixODBC manager and MySQL connector

Nick Gorham nick at lurcher.org
Mon Dec 17 18:23:48 GMT 2012


On 17/12/12 18:17, Fahad Ali wrote:
> Thanks for the reply Nick,
>
> i am installing below versions,
>
> unixODBC-2.3.1
> mysql-connector-odbc-5.2.2-linux-glibc2.3-x86-64bit
>
> My server is RHEL 6.3 64-bit.
>
> I have below questions,
> 1 - is it necessary to have mysql connector of 64-bit or 32-bit will 
> work ?
If you have installed a 64 bit driver, you need to build the driver 
manager as 64 bit also.

export CFLAGS=-m64
./configure
make
make install

> 2 - when i am running the below command, the given error is coming,
> [sas93 at dc4coj bin]$  myodbc3i -d -a -n "MySQL" -t 
> "DRIVER=/sasapps/unixODBC/mysql-connector-odbc-3.51.30-linux-rhel5-x86-32bit/bin/libodbcinst.so.1"
> myodbc3i: error while loading shared libraries: libodbcinst.so.1: 
> cannot open shared object file: No such file or directory

May be because the driver manager is built 32 bit.

-- 
NIck


More information about the unixODBC-support mailing list