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

mysql_config includes -lprobes_mysql but mo such library installed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.33a, 10.0.10
    • 5.5.37, 10.0.11
    • None
    • None

    Description

      I compiled mariadb 5.5.33a using my own gcc (4.8.1) and libraries, everything in --prefix /tenhw/local

      I used BUILD/compile-pentium64-max (thinking it is best default for my environment)

      The compile finished succesfully and the 'make install' as well.

      The problem is mysql_config, whose output is:

      Options:
              --cflags         [-I/tenhw/apps/mysql/include/mysql -I/tenhw/apps/mysql/include/mysql/.. -Wall -Wunused -Wno-uninitialized -m64 -fno-omit-frame-pointer    -g]
              --include        [-I/tenhw/apps/mysql/include/mysql -I/tenhw/apps/mysql/include/mysql/..]
              --libs           [-L/tenhw/apps/mysql/lib -lmysqlclient -lpthread -lprobes_mysql -lm -lrt -ldl]
              --libs_r         [-L/tenhw/apps/mysql/lib -lmysqlclient_r -lpthread -lprobes_mysql -lm -lrt -ldl]
              --plugindir      [/tenhw/apps/mysql/lib/plugin]
              --socket         [/tmp/mysql.sock]
              --port           [0]
              --version        [5.5.33a]
              --libmysqld-libs [-L/tenhw/apps/mysql/lib -lmysqld]
              --variable=VAR   VAR is one of:
                      pkgincludedir [/tenhw/apps/mysql/include/mysql]
                      pkglibdir     [/tenhw/apps/mysql/lib]
                      plugindir     [/tenhw/apps/mysql/lib/plugin]

      However, there is no probes_mysql library installed. I can find probes_mysql.o many times in the output during compile, but I cannot find generation of a library...

      So any third party that uses mysql_config fails during compile with gcc not finding the library

      /tenhw/local/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lprobes_mysql
      collect2: error: ld returned 1 exit status

      Attachments

        1. BUILD.out
          1.94 MB
          Edgar Torres
        2. make_install.out
          838 kB
          Edgar Torres

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              etorres Edgar Torres
              Votes:
              0 Vote for this issue
              Watchers:
              6 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.