[ODBC-346] MacOS ODBC connector package is missing Connector/C runtime library. Created: 2021-12-08 Updated: 2022-09-14 Resolved: 2022-06-18 |
|
| Status: | Closed |
| Project: | MariaDB Connector/ODBC |
| Component/s: | General |
| Affects Version/s: | 3.1.15 |
| Fix Version/s: | 3.1.16 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Berk Akinci | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
MacBook Air (Retina, 13-inch, 2020) |
||
| Issue Links: |
|
||||
| Description |
|
This appears to be related to incomplete task I've attempted an installation with the package downloaded from https://dlm.mariadb.com/1936452/connectors/odbc/connector-odbc-3.1.15/mariadb-connector-odbc-3.1.15-osx-x86_64.pkg It appears the libmariadb dependency is missing. This according to tool:
The message as relayed by Excel is:
I thought it must be a path problem. I can't find that file on my disk. I expanded the .pkg file and its Payload. That file is not in this package. The release notes say Connector/ODBC is "based on Connector/C"; not that it depends on it. Still, I attempted to download the Connector/C for macOS, in case I was supposed to get it separately. A package for macOS doesn't exist. I am still digging into this issue on my setup. However, I think this is a bug: the download provided doesn't have any chance of working out of the box. |
| Comments |
| Comment by Berk Akinci [ 2021-12-09 ] | |||||||||||||||||||
|
I decided to dig into this a little.
Anyway, the end result: It appears the libmariadb is building fine after gzlib patch. However, it doesn't end up in the "osxinstall" directory. I'm guessing it's supposed to be in there to be included in the package:
Any pointers to where this would be fixed? I should add I also updated OS since initial report. This is now on: macOS Big Sur 11.6.1 (20G224) | |||||||||||||||||||
| Comment by Lawrin Novitsky [ 2021-12-10 ] | |||||||||||||||||||
|
Thank you for your report. This will be fixed in the next release. Since you could build the connector from the source, that can be a workaround for you - using either libmariadb library from that build, or use that libmaodbc entirely. | |||||||||||||||||||
| Comment by Berk Akinci [ 2021-12-10 ] | |||||||||||||||||||
|
Thanks. I also need the fix for a customer. I suspect I'll have code signing issues there. Actually, the customer system is older (macOS High Sierra 10.13.6) and is crashing (SIGSEGV) at the iODBC driver manager. So we're not even here yet... Do you have an estimate of when the next release is coming? | |||||||||||||||||||
| Comment by Lawrin Novitsky [ 2022-06-18 ] | |||||||||||||||||||
|
As temporary solution I've returned static linking of mariadbclient. Not closing the ticket, as this is not the final decision, but I am kinda inclined to have it this way. | |||||||||||||||||||
| Comment by Lawrin Novitsky [ 2022-06-18 ] | |||||||||||||||||||
|
On 2nd thought I've decided to close it, so it will make to release notes, and open new task for dynamic linking on MacOS | |||||||||||||||||||
| Comment by Berk Akinci [ 2022-06-19 ] | |||||||||||||||||||
|
Thanks for fixing this. After spending way too much time on this, I just updated my instructions to point MacOS users to MySQL ODBC connector. | |||||||||||||||||||
| Comment by Lawrin Novitsky [ 2022-06-20 ] | |||||||||||||||||||
|
Sorry for such a long delay with this release. The reason behind it is more like a "force-major", but anyway - sorry. I am planning to finish everything related release build today, so hopefully it will be also published today, or maybe tomorrow. | |||||||||||||||||||
| Comment by Berk Akinci [ 2022-09-13 ] | |||||||||||||||||||
|
I don't think this is fixed as of 3.1.17. I still don't see libmariadb in the package:
| |||||||||||||||||||
| Comment by Berk Akinci [ 2022-09-13 ] | |||||||||||||||||||
|
Also, there is no MacOS versions of C/C++ connector for download on the web site. | |||||||||||||||||||
| Comment by Lawrin Novitsky [ 2022-09-14 ] | |||||||||||||||||||
|
berka it's linked statically again on MacOS, thus there is no libmariadb library file in the package. | |||||||||||||||||||
| Comment by Berk Akinci [ 2022-09-14 ] | |||||||||||||||||||
|
Sorry about that. Thanks. I was thrown off because the library size is still tiny compared to other platforms. |