Error installing do mysql latest version '0.10.17'












0














Building native extensions. This could take a while...
ERROR: Error installing do_mysql:
ERROR: Failed to build gem native extension.

current directory: /var/lib/gems/2.5.0/gems/do_mysql-0.10.17/ext/do_mysql
/usr/bin/ruby2.5 -r ./siteconf20181228-4132-w825mn.rb extconf.rb
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/do_mysql-0.10.17 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/gem_make.out


I have no idea why, but assume that the error could be from the path or directory or maybe libraries.



Does anyone have any idea what's wrong?










share|improve this question





























    0














    Building native extensions. This could take a while...
    ERROR: Error installing do_mysql:
    ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/do_mysql-0.10.17/ext/do_mysql
    /usr/bin/ruby2.5 -r ./siteconf20181228-4132-w825mn.rb extconf.rb
    checking for mysql_query() in -lmysqlclient... no
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.

    Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
    --with-mysql-config
    --without-mysql-config
    --with-mysql-dir
    --without-mysql-dir
    --with-mysql-include
    --without-mysql-include=${mysql-dir}/include
    --with-mysql-lib
    --without-mysql-lib=${mysql-dir}/lib
    --with-mysqlclientlib
    --without-mysqlclientlib

    To see why this extension failed to compile, please check the mkmf.log which can be found here:

    /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/mkmf.log

    extconf failed, exit code 1

    Gem files will remain installed in /var/lib/gems/2.5.0/gems/do_mysql-0.10.17 for inspection.
    Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/gem_make.out


    I have no idea why, but assume that the error could be from the path or directory or maybe libraries.



    Does anyone have any idea what's wrong?










    share|improve this question



























      0












      0








      0







      Building native extensions. This could take a while...
      ERROR: Error installing do_mysql:
      ERROR: Failed to build gem native extension.

      current directory: /var/lib/gems/2.5.0/gems/do_mysql-0.10.17/ext/do_mysql
      /usr/bin/ruby2.5 -r ./siteconf20181228-4132-w825mn.rb extconf.rb
      checking for mysql_query() in -lmysqlclient... no
      *** extconf.rb failed ***
      Could not create Makefile due to some reason, probably lack of necessary
      libraries and/or headers. Check the mkmf.log file for more details. You may
      need configuration options.

      Provided configuration options:
      --with-opt-dir
      --without-opt-dir
      --with-opt-include
      --without-opt-include=${opt-dir}/include
      --with-opt-lib
      --without-opt-lib=${opt-dir}/lib
      --with-make-prog
      --without-make-prog
      --srcdir=.
      --curdir
      --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
      --with-mysql-config
      --without-mysql-config
      --with-mysql-dir
      --without-mysql-dir
      --with-mysql-include
      --without-mysql-include=${mysql-dir}/include
      --with-mysql-lib
      --without-mysql-lib=${mysql-dir}/lib
      --with-mysqlclientlib
      --without-mysqlclientlib

      To see why this extension failed to compile, please check the mkmf.log which can be found here:

      /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/mkmf.log

      extconf failed, exit code 1

      Gem files will remain installed in /var/lib/gems/2.5.0/gems/do_mysql-0.10.17 for inspection.
      Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/gem_make.out


      I have no idea why, but assume that the error could be from the path or directory or maybe libraries.



      Does anyone have any idea what's wrong?










      share|improve this question















      Building native extensions. This could take a while...
      ERROR: Error installing do_mysql:
      ERROR: Failed to build gem native extension.

      current directory: /var/lib/gems/2.5.0/gems/do_mysql-0.10.17/ext/do_mysql
      /usr/bin/ruby2.5 -r ./siteconf20181228-4132-w825mn.rb extconf.rb
      checking for mysql_query() in -lmysqlclient... no
      *** extconf.rb failed ***
      Could not create Makefile due to some reason, probably lack of necessary
      libraries and/or headers. Check the mkmf.log file for more details. You may
      need configuration options.

      Provided configuration options:
      --with-opt-dir
      --without-opt-dir
      --with-opt-include
      --without-opt-include=${opt-dir}/include
      --with-opt-lib
      --without-opt-lib=${opt-dir}/lib
      --with-make-prog
      --without-make-prog
      --srcdir=.
      --curdir
      --ruby=/usr/bin/$(RUBY_BASE_NAME)2.5
      --with-mysql-config
      --without-mysql-config
      --with-mysql-dir
      --without-mysql-dir
      --with-mysql-include
      --without-mysql-include=${mysql-dir}/include
      --with-mysql-lib
      --without-mysql-lib=${mysql-dir}/lib
      --with-mysqlclientlib
      --without-mysqlclientlib

      To see why this extension failed to compile, please check the mkmf.log which can be found here:

      /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/mkmf.log

      extconf failed, exit code 1

      Gem files will remain installed in /var/lib/gems/2.5.0/gems/do_mysql-0.10.17 for inspection.
      Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/do_mysql-0.10.17/gem_make.out


      I have no idea why, but assume that the error could be from the path or directory or maybe libraries.



      Does anyone have any idea what's wrong?







      linux ubuntu debian mysql ruby






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 27 '18 at 18:03









      Scott

      15.6k113889




      15.6k113889










      asked Dec 27 '18 at 17:53









      Bot PassiveBot Passive

      12




      12






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388188%2ferror-installing-do-mysql-latest-version-0-10-17%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388188%2ferror-installing-do-mysql-latest-version-0-10-17%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Probability when a professor distributes a quiz and homework assignment to a class of n students.

          Aardman Animations

          Are they similar matrix