Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6131

Unable to build Connector/ODBC 5.2.5 undefined reference to `my_charset_latin1'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.37, 10.0.10
    • Fix Version/s: 5.5.38, 10.0.11
    • Component/s: None
    • Labels:

      Description

      With either 5.5.37 or 10.0.10 installed, I get the following trying to build Connector/ODBC 5.2.5 from Oracle.

      This used to build previously but I haven't noticed when it stopped.

      Linking C executable ../bin/myodbc-installer
      ../lib/libmyodbc3u.a(stringutil.c.o): In function `my_os_charset_to_mysql_charset':
      stringutil.c:(.text+0xdb0): undefined reference to `my_charset_latin1'
      collect2: error: ld returned 1 exit status
      installer/CMakeFiles/myodbc-installer.dir/build.make:90: recipe for target 'bin/myodbc-installer' failed
      make[2]: *** [bin/myodbc-installer] Error 1
      CMakeFiles/Makefile2:228: recipe for target 'installer/CMakeFiles/myodbc-installer.dir/all' failed
      make[1]: *** [installer/CMakeFiles/myodbc-installer.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Same for all my_charset* symbols.

            Show
            elenst Elena Stepanova added a comment - Same for all my_charset* symbols.
            Hide
            serg Sergei Golubchik added a comment -

            I wasn't able to repeat this. How exactly did you build?

            Show
            serg Sergei Golubchik added a comment - I wasn't able to repeat this. How exactly did you build?
            Hide
            grknight Brian Evans added a comment -

            The stock MariaDB 5.5.37 installed, myodbc fails to build on Gentoo.
            The MariaDB version in Gentoo has a trivial patch to expose my_charset_latin1 so we don't break user's builds.

            Show
            grknight Brian Evans added a comment - The stock MariaDB 5.5.37 installed, myodbc fails to build on Gentoo. The MariaDB version in Gentoo has a trivial patch to expose my_charset_latin1 so we don't break user's builds.

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                grknight Brian Evans
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: