Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-491

libmariadb fails to build on OpenBSD due to undefined iconv symbols

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.10
    • None
    • None
    • 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
      #define iconv_open libiconv_open
      #endif
      #ifndef LIBICONV_PLUG
      #define iconv libiconv
      #endif
      #ifndef LIBICONV_PLUG
      #define iconv_close libiconv_close
      #endif

      Which results in undefined symbols.

      Attachments

        Activity

          People

            georg Georg Richter
            brad0 Brad Smith
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.