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

Mariabackup is linked against libsql_builtins.so dynamically

Details

    Description

      Since 10.4.23 mariabackup binary is linked dynamically against libsql_builtins.so which is not installed and it breaks binary of course. 10.4.22 was OK and it also doesn't happen with 10.3.34 and 10.6.7.

      The server is built in all versions with:

      cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -DINSTALL_LAYOUT=RPM -DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr -DCONNECT_WITH_ODBC=1 -DCONNECT_WITH_MYSQL=1 -DUSE_ARIA_FOR_TMP_TABLES=1 -DWITH_EMBEDDED_SERVER=0 -DWITH_MARIABACKUP=1 -DWITH_ARIA_STORAGE_ENGINE=1 -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_PARTITION_STORAGE_ENGINE=1 -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 -DWITH_SPHINX_STORAGE_ENGINE=0 -DWITH_CONNECT_STORAGE_ENGINE=0 -DWITH_SEQUENCE_STORAGE_ENGINE=0 -DWITH_BLACKHOLE_STORAGE_ENGINE=0 -DWITH_FEDERATEDX_STORAGE_ENGINE=0 -DWITH_TEST_SQL_DISCOVERY_STORAGE_ENGINE=0 -DWITHOUT_MROONGA_STORAGE_ENGINE=1 -DWITHOUT_TOKUDB_STORAGE_ENGINE=1 -DWITH_INNODB_LZ4=0 -DWITH_INNODB_LZO=0 -DWITH_INNODB_SNAPPY=0 -DPLUGIN_MROONGA=NO -DENABLE_GCOV=0 -DWITH_UNIT_TESTS=OFF -DWITH_LIBWRAP=0 -DWITH_VALGRIND=0 -DWITH_JEMALLOC=system -DWITH_PCRE=system -DWITH_DEBUG=0 -DENABLE_DEBUG_SYNC=0 -DWITH_PIC=ON -DWITH_SAFEMALLOC=OFF
      

      Attachments

        Issue Links

          Activity

            hasso Hasso Tepper created issue -
            serg Sergei Golubchik made changes -
            Field Original Value New Value
            Component/s Compiling [ 11001 ]
            Component/s Backup [ 13902 ]

            I cannot repeat it with 10.4.24 and your cmake command line. I can repeat if I use -DBUILD_SHARED_LIBS=ON, and I'll make the build to not depend on that.

            But, basically, just don't specify -DBUILD_SHARED_LIBS=ON and you'll be fine. Use your command line as you've specified in the description, that'll do.

            serg Sergei Golubchik added a comment - I cannot repeat it with 10.4.24 and your cmake command line. I can repeat if I use -DBUILD_SHARED_LIBS=ON , and I'll make the build to not depend on that. But, basically, just don't specify -DBUILD_SHARED_LIBS=ON and you'll be fine. Use your command line as you've specified in the description, that'll do.
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Fix Version/s 10.7 [ 24805 ]
            serg Sergei Golubchik made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            serg Sergei Golubchik made changes -
            Status In Progress [ 3 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Status Stalled [ 10000 ] In Testing [ 10301 ]
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4.25 [ 27510 ]
            Fix Version/s 10.5.16 [ 27508 ]
            Fix Version/s 10.6.8 [ 27506 ]
            Fix Version/s 10.7.4 [ 27504 ]
            Fix Version/s 10.4 [ 22408 ]
            Fix Version/s 10.5 [ 23123 ]
            Fix Version/s 10.6 [ 24028 ]
            Fix Version/s 10.7 [ 24805 ]
            Resolution Fixed [ 1 ]
            Status In Testing [ 10301 ] Closed [ 6 ]

            People

              serg Sergei Golubchik
              hasso Hasso Tepper
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.