[CONC-491] libmariadb fails to build on OpenBSD due to undefined iconv symbols Created: 2020-08-29 Updated: 2021-02-15 Resolved: 2021-02-09 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.10 |
| Type: | Task | Priority: | Major |
| Reporter: | Brad Smith | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OpenBSD |
||
| Description |
|
libmariadb currently defines LIBICONV_PLUG to workaround a Linux issue globally but this breaks building on any OS that uses GNU iconv as a non native implementation, as in part of GLIBC for example. From the iconv.h header.. #ifndef LIBICONV_PLUG Which results in undefined symbols. |
| Comments |
| Comment by Brad Smith [ 2020-09-09 ] |
|
I created a pull request. https://github.com/mariadb-corporation/mariadb-connector-c/pull/147 |
| Comment by Georg Richter [ 2020-10-06 ] |
|
Hi Brad, can you please try with latest stable version? We change build option in 3.1,10 so by default C/C will be build without iconv. |
| Comment by Brad Smith [ 2021-02-09 ] |
|
We have MariaDB 10.5.8 in our ports tree and it is building fine. |