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

Missing library path in mariadb_config

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.2.10
    • N/A
    • Scripts & Clients
    • FreeBSD build.example.org 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1 #0 r323352: Sat Sep 9 14:25:36 CEST 2017 bernard@build.example.org:/usr/obj/usr/src/sys/BEASTIE111 amd64

    Description

      The output of mysql_config has changed from 10.1 to 10.2. This is problematic for programs that use mysql_config (Apache APR-util).

      10.1 `-L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lexecinfo -lssl -lcrypto -L/usr/local/lib`
      10.2 `-L/usr/local/lib/mysql/ -lmariadb -lz -lm -lpthread -liconv -lssl -lcrypto -liconv`

      Since libiconv.so is in /usr/local/lib, configure from APR-util fails to find iconv and doesn't buld the mysql dbd backend. Hacked this by adding " -L/usr/local/include" in mysql_config and that works

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              spil Bernard Spil
              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.