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

Missing library path in mariadb_config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 10.2.10
    • Fix Version/s: N/A
    • Component/s: Scripts & Clients
    • Labels:
    • Environment:
      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

              Assignee:
              serg Sergei Golubchik
              Reporter:
              spil Bernard Spil
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: