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

MariaDB 10.4 does not build on OpenBSD due to the use of libdl

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.4.5, 10.5.0, 10.5.4
    • 10.4.14, 10.5.5
    • Compiling, Galera
    • None
    • OpenBSD

    Description

      MariaDB 10.4 does not build on OpenBSD due to the use of libdl

      [1/127] : && /home/ports/pobj/mariadb-10.4.5/bin/c++  -O2 -pipe  -I/usr/local/include -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF  -L/usr/local/lib   -Wl,--export-dynamic extra/mariabackup/CMakeFiles/mariabackup.dir/xtrabackup.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/innobackupex.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/changed_page_bitmap.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/datasink.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_buffer.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_compress.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_local.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_stdout.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_tmpfile.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_xbstream.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/fil_cur.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/quicklz/quicklz.c.o extra/mariabackup/CMakeFiles/mariabackup.dir/read_filt.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/write_filt.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/wsrep.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/xbstream_write.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/backup_mysql.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/backup_copy.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/encryption_plugin.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/__/__/sql/net_serv.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/__/__/libmysqld/libmysql.c.o  -o extra/mariabackup/mariabackup -L/usr/local/lib -lpthread -llz4 -llzo2 -llzma -lbz2 -lsnappy sql/libsql.a extra/mariabackup/crc/libcrc.a storage/csv/libcsv.a storage/heap/libheap.a storage/innobase/libinnobase.a storage/maria/libaria.a storage/myisam/libmyisam.a storage/myisammrg/libmyisammrg.a storage/perfschema/libperfschema.a storage/sequence/libsequence.a plugin/auth_socket/libauth_socket.a plugin/feedback/libfeedback.a plugin/user_variables/libuser_variables.a plugin/userstat/libuserstat.a sql/libpartition.a sql/libsql_sequence.a mysys/libmysys.a mysys_ssl/libmysys_ssl.a dbug/libdbug.a mysys/libmysys.a mysys_ssl/libmysy
      s_ssl.a dbug/libdbug.a -lz -lm strings/libstrings.a vio/libvio.a -lpcre -lssl -lcrypto wsrep-lib/src/libwsrep-lib.a -lpthread -ldl wsrep-lib/wsrep-API/libwsrep_api_v26.
      a -lpthread -llz4 -llzo2 -llzma -lbz2 -lsnappy -Wl,-rpath-link,/usr/X11R6/lib && :
      FAILED: extra/mariabackup/mariabackup
      : && /home/ports/pobj/mariadb-10.4.5/bin/c++  -O2 -pipe  -I/usr/local/include -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DNDEBUG -D_FORTIFY_SOURCE
      =2 -DDBUG_OFF  -L/usr/local/lib   -Wl,--export-dynamic extra/mariabackup/CMakeFiles/mariabackup.dir/xtrabackup.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/innobac
      kupex.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/changed_page_bitmap.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/datasink.cc.o extra/mariabackup/CMakeFiles
      /mariabackup.dir/ds_buffer.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_compress.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_local.cc.o extra/mariaback
      up/CMakeFiles/mariabackup.dir/ds_stdout.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_tmpfile.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/ds_xbstream.cc.o
      extra/mariabackup/CMakeFiles/mariabackup.dir/fil_cur.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/quicklz/quicklz.c.o extra/mariabackup/CMakeFiles/mariabackup.dir/
      read_filt.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/write_filt.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/wsrep.cc.o extra/mariabackup/CMakeFiles/mariaba
      ckup.dir/xbstream_write.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/backup_mysql.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/backup_copy.cc.o extra/mariabac
      kup/CMakeFiles/mariabackup.dir/encryption_plugin.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/__/__/sql/net_serv.cc.o extra/mariabackup/CMakeFiles/mariabackup.dir/
      __/__/libmysqld/libmysql.c.o  -o extra/mariabackup/mariabackup -L/usr/local/lib -lpthread -llz4 -llzo2 -llzma -lbz2 -lsnappy sql/libsql.a extra/mariabackup/crc/libcrc.a
       storage/csv/libcsv.a storage/heap/libheap.a storage/innobase/libinnobase.a storage/maria/libaria.a storage/myisam/libmyisam.a storage/myisammrg/libmyisammrg.a storage/
      perfschema/libperfschema.a storage/sequence/libsequence.a plugin/auth_socket/libauth_socket.a plugin/feedback/libfeedback.a plugin/user_variables/libuser_variables.a pl
      ugin/userstat/libuserstat.a sql/libpartition.a sql/libsql_sequence.a mysys/libmysys.a mysys_ssl/libmysys_ssl.a dbug/libdbug.a mysys/libmysys.a mysys_ssl/libmysys_ssl.a
      dbug/libdbug.a -lz -lm strings/libstrings.a vio/libvio.a -lpcre -lssl -lcrypto wsrep-lib/src/libwsrep-lib.a -lpthread -ldl wsrep-lib/wsrep-API/libwsrep_api_v26.a -lpthr
      ead -llz4 -llzo2 -llzma -lbz2 -lsnappy -Wl,-rpath-link,/usr/X11R6/lib && :
      ld: error: unable to find library -ldl
      

      Attachments

        Activity

          People

            serg Sergei Golubchik
            brad0 Brad Smith
            Votes:
            2 Vote for this issue
            Watchers:
            5 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.