Re: Installation of MySQL Connector/ODBC fails

Bogdan Degtyariov <[email protected]> Wed, 23 Nov 2016 20:12:36 +1100
Newsgroups gmane.comp.db.mysql.odbc
Message-ID <[email protected]>
On 23/11/2016 7:25 AM, Goldberg, Arthur P wrote:
> Hi
>
> Since writing the below I’ve attempted to use Mac OS X 10.10 (x86, 64-bit), Compressed TAR Archive<http://dev.mysql.com/downloads/connector/odbc/>. Following the directions at https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html, I get
> $ ls -l /usr/local/lib
> total 19480
> -rwxr-xr-x@ 1 root  wheel  4988284 Nov 21 22:08 libmyodbc5a.so
> -rwxr-xr-x@ 1 root  wheel  4984300 Nov 21 22:08 libmyodbc5w.so
>
> $ /usr/local/bin/myodbc-installer
> dyld: Library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457622765.94/unixODBC-2.3.2-osx10.10-x86-64bit/lib/libodbc.2.dylib
>   Referenced from: /usr/local/bin/myodbc-installer
>   Reason: image not found
> Trace/BPT trap: 5
>
>
> Examining myodbc-installer further, it uses the following dylibs:
> $ otool -L /usr/local/bin/myodbc-installer
> /usr/local/bin/myodbc-installer:
> /Volumes/hd2/pb2/build/sb_0-18231254-1457622765.94/unixODBC-2.3.2-osx10.10-x86-64bit/lib/libodbc.2.dylib (compatibility version 3.0.0, current version 3.0.0)
> /Volumes/hd2/pb2/build/sb_0-18231254-1457622765.94/unixODBC-2.3.2-osx10.10-x86-64bit/lib/libodbcinst.2.dylib (compatibility version 3.0.0, current version 3.0.0)
> /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
> /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
> This appears to use a dylibs that are not available in the ODBC connector tarball (libodbc.2.dylib, and libodbcinst.2.dylib). Perhaps they map to the dylibs in the tarball, but how is not clear.
>
>
>
> On Nov 21, 2016, at 9:38 PM, Arthur Goldberg <[email protected]<mailto:[email protected]>> wrote:
>
> Hi
>
> I use a Mac running OS X Yosemite 10.10.
> I’ve downloaded "Mac OS X 10.10 (x86, 64-bit), DMG Archive” from https://dev.mysql.com/downloads/connector/odbc/5.2.html, verified its MD5 (42770b6703771204c1fe46e15b9aa347), and attempted to install the archive. Repeatedly, I receive the error “The Installation failed”. See https://www.dropbox.com/s/cilcuzd00vz4jpk/InstallationFailed2.jpg?dl=0. The installation appears to fail just after the ‘package validation’ phase starts.
>
>
> Rebooting the Mac does not help.
> Is there another ODBC driver that’s likely to connect Excel with MySQL on my Mac? Or can this be fixed?
>
> Thanks
> Arthur
>
>
>
> Arthur Goldberg, PhD
> Associate Professor of Genetics and Genomic Sciences
> Icahn Institute for Genomics & Multiscale Biology
> Icahn School of Medicine at Mount Sinai
> 646 526 5020
> Karr Lab<http://www.karrlab.org/>
> [email protected]<mailto:[email protected]>
> Follow us on Twitter @IcahnInstitute<https://twitter.com/IcahnInstitute>
>
>
> Arthur Goldberg, PhD
> Associate Professor of Genetics and Genomic Sciences
> Icahn Institute for Genomics & Multiscale Biology
> Icahn School of Medicine at Mount Sinai
> 646 526 5020
> Karr Lab<http://www.karrlab.org/>
> [email protected]<mailto:[email protected]>
> Follow us on Twitter @IcahnInstitute<https://twitter.com/IcahnInstitute>

Hi Arthur,

Thanks for your interest in MySQL software.
We are aware of the problem you described.

The Connector/ODBC 5.3.6 for OSX needs UnixODBC to work.
The problem with UnixODBC is that there is no official binary 
distribution for OSX.

The immediate solution of the MySQL Connector/ODBC issue you are 
experiencing is building UnixODBC from sources (http://www.unixodbc.org/)

In the upcoming release of Connector/ODBC 5.3.7 this issue should be 
resolved. Unfortunately, I cannot disclose the date of the release prior 
to the official announcement.
Thanks for your patience.

-- 
Best Regards,
Bogdan Degtyariov

-- 
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:    http://lists.mysql.com/myodbc