Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-4773

Percona Server sources can't be compiled without server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Not 5.6, 5.7.22-22, 5.6.41-84.1
    • Component/s: None
    • Labels:
    • Environment:

      The same behaviour observed on different Linux distros.

      Description

      cmake -DWITH_BOOST=boost -DDOWNLOAD_BOOST=1 -DWITHOUT_SERVER=1
      make
      ...
      Linking CXX executable mysqlbinlog
      ../archive_output_directory/libperconaserverclient.a(mf_iocache2.c.o): In function `my_b_fill':
      /home/slava/1/percona-server-5.7.22-22/mysys/mf_iocache2.c:235: undefined reference to `mysql_file_read'
      /home/slava/1/percona-server-5.7.22-22/mysys/mf_iocache2.c:215: undefined reference to `mysql_file_seek'
      ../archive_output_directory/libperconaserverclient.a(mf_iocache2.c.o): In function `my_b_pread':
      /home/slava/1/percona-server-5.7.22-22/mysys/mf_iocache2.c:256: undefined reference to `mysql_file_pread'
      ../archive_output_directory/libperconaserverclient.a(mf_iocache2.c.o): In function `my_b_filelength':
      /home/slava/1/percona-server-5.7.22-22/mysys/mf_iocache2.c:313: undefined reference to `mysql_file_seek'
      collect2: error: ld returned 1 exit status
      make[2]: *** [client/mysqlbinlog] Error 1
      make[1]: *** [client/CMakeFiles/mysqlbinlog.dir/all] Error 2
      make: *** [all] Error 2

      Full output: https://pastebin.com/JGX7sAnk

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yura.sorokin Yura Sorokin
                Reporter:
                slava Slava Sterling
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h