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

mysql_config reports wrong libs for libmysqld

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.5.8
    • 10.5
    • Compiling, Packaging
    • None

    Description

      $ mysql_config --libmysqld-libs
      -L/usr/lib64  -lmysqld -lpthread -lcrypt -llz4 -llzo2 -llzma -lbz2 -laio -lz -lm -lssl -lcrypto -ldl -ltpool
      

      mysql_config reports -ltpool as library for apps linking libmysqld, but libtpool is linked statically during the build:

      [ 91%] Linking CXX shared library libmariadbd.so
      cd /tmp/mariadb-10.5.8/build/libmysqld && /usr/bin/cmake -E cmake_link_script CMakeFiles/libmysqld.dir/link.txt --verbose=1
      /usr/libexec/icecc/bin/c++ -fPIC -O2 -fPIC -pie -fPIC -fstack-protector --param=ssp-buffer-size=4 -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wextra -Wno-format-truncation -Wno-init-self -Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual -Wnon-virtual-dtor -Wvla -Wwrite-strings  -Wl,--no-undefined  -Wl,-z,relro,-z,now -shared -Wl,-soname,libmariadbd.so.19 -o libmariadbd.so.19 CMakeFiles/libmysqld.dir/libmysqld_exports_file.cc.o  -lpthread libmariadbd.a -lcrypt -llz4 -llzo2 -llzma -lbz2 -lz -lm -lssl -lcrypto -ldl ../tpool/libtpool.a -lpthread -laio
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            pprkut Heinz Wiesinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.