Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • OSX 10.9.1, Xcode Version 5.0.2 (5A3005)

    Description

      I've downloaded the latest version of the MariaDB C client library. I ran `cmake CMakeLists.txt` to generate a Makefile and when I run that Makefile I get the error:

      `
      Linking C shared library libmariadb.dylib
      Undefined symbols for architecture x86_64:
      "_libiconv", referenced from:
      _mariadb_convert_string in my_charset.c.o
      "_libiconv_close", referenced from:
      _mariadb_convert_string in my_charset.c.o
      "_libiconv_open", referenced from:
      _mariadb_convert_string in my_charset.c.o
      ld: symbol(s) not found for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      make[2]: *** [libmariadb/libmariadb.1.dylib] Error 1
      make[1]: *** [libmariadb/CMakeFiles/libmariadb.dir/all] Error 2
      make: *** [all] Error 2
      `

      This also happens if I try to build `libmariadb`. The only way I can build the library is by building `mariadbclient`, but when I try to include that on an Xcode project it fails with the error above. Adding libiconv.dylib to the project won't change anything.

      Attachments

        Activity

          ruipacheco Rui Pacheco created issue -
          georg Georg Richter made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow defaullt [ 32000 ] MariaDB connectors [ 54878 ]
          julien.fritsch Julien Fritsch made changes -
          Workflow MariaDB connectors [ 54878 ] MariaDB v4 [ 160942 ]

          People

            georg Georg Richter
            ruipacheco Rui Pacheco
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.