LoadError: libgvc.so.5: cannot open shared object file: No such file or directory - RMagick2.so












1















Recently I switched our tests from ubuntu 12 to ubuntu 14.04 worker on Solano. Now when I run bundle exec rake in the debug console I get



rake aborted!
LoadError: libgvc.so.5: cannot open shared object file: No such file or directory - /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
/home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick_internal.rb:12:in `<top (required)>'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
/home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
/home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick.rb:1:in `<top (required)>'
/home/u261/src/repo/app`enter code here`/config/application.rb:7:in `<top (required)>'
/home/u261/src/repo/app/Rakefile:5:in `require'
/home/u261/src/repo/app/Rakefile:5:in `<top (required)>'
/home/u261/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `load'
/home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)


I use rmagick version 2.16.0. In our solano.yml pre-setup hook looks the following way:



hooks:
early:
# Install ImageMagick
sudo apt-get update && sudo apt-get -y install imagemagick libmagickwand-dev


I searched for libgvc.so.5 on the box with sudo find / -name "libgvc*" but I could not find it



Any thoughts?



UPDATE 1



Searching the gems for libgvc gives me



ag "libgvc" /home/u261/bundle/ruby

/home/u261/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/mkmf.log
warning: libgvc.so.5, needed by /usr/local/lib/libMagickCore-6.Q16.so, not found (try using -rpath or -rpath-link)


UPDATE 2



identify -version outputs



identify: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory









share|improve this question





























    1















    Recently I switched our tests from ubuntu 12 to ubuntu 14.04 worker on Solano. Now when I run bundle exec rake in the debug console I get



    rake aborted!
    LoadError: libgvc.so.5: cannot open shared object file: No such file or directory - /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
    /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick_internal.rb:12:in `<top (required)>'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
    /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
    /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick.rb:1:in `<top (required)>'
    /home/u261/src/repo/app`enter code here`/config/application.rb:7:in `<top (required)>'
    /home/u261/src/repo/app/Rakefile:5:in `require'
    /home/u261/src/repo/app/Rakefile:5:in `<top (required)>'
    /home/u261/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
    /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `load'
    /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `<main>'
    (See full trace by running task with --trace)


    I use rmagick version 2.16.0. In our solano.yml pre-setup hook looks the following way:



    hooks:
    early:
    # Install ImageMagick
    sudo apt-get update && sudo apt-get -y install imagemagick libmagickwand-dev


    I searched for libgvc.so.5 on the box with sudo find / -name "libgvc*" but I could not find it



    Any thoughts?



    UPDATE 1



    Searching the gems for libgvc gives me



    ag "libgvc" /home/u261/bundle/ruby

    /home/u261/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/mkmf.log
    warning: libgvc.so.5, needed by /usr/local/lib/libMagickCore-6.Q16.so, not found (try using -rpath or -rpath-link)


    UPDATE 2



    identify -version outputs



    identify: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory









    share|improve this question



























      1












      1








      1








      Recently I switched our tests from ubuntu 12 to ubuntu 14.04 worker on Solano. Now when I run bundle exec rake in the debug console I get



      rake aborted!
      LoadError: libgvc.so.5: cannot open shared object file: No such file or directory - /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick_internal.rb:12:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick.rb:1:in `<top (required)>'
      /home/u261/src/repo/app`enter code here`/config/application.rb:7:in `<top (required)>'
      /home/u261/src/repo/app/Rakefile:5:in `require'
      /home/u261/src/repo/app/Rakefile:5:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `load'
      /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `<main>'
      (See full trace by running task with --trace)


      I use rmagick version 2.16.0. In our solano.yml pre-setup hook looks the following way:



      hooks:
      early:
      # Install ImageMagick
      sudo apt-get update && sudo apt-get -y install imagemagick libmagickwand-dev


      I searched for libgvc.so.5 on the box with sudo find / -name "libgvc*" but I could not find it



      Any thoughts?



      UPDATE 1



      Searching the gems for libgvc gives me



      ag "libgvc" /home/u261/bundle/ruby

      /home/u261/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/mkmf.log
      warning: libgvc.so.5, needed by /usr/local/lib/libMagickCore-6.Q16.so, not found (try using -rpath or -rpath-link)


      UPDATE 2



      identify -version outputs



      identify: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory









      share|improve this question
















      Recently I switched our tests from ubuntu 12 to ubuntu 14.04 worker on Solano. Now when I run bundle exec rake in the debug console I get



      rake aborted!
      LoadError: libgvc.so.5: cannot open shared object file: No such file or directory - /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick_internal.rb:12:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `block in require'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:258:in `load_dependency'
      /home/u261/bundle/ruby/2.4.0/gems/activesupport-5.1.2/lib/active_support/dependencies.rb:292:in `require'
      /home/u261/bundle/ruby/2.4.0/gems/rmagick-2.16.0/lib/rmagick.rb:1:in `<top (required)>'
      /home/u261/src/repo/app`enter code here`/config/application.rb:7:in `<top (required)>'
      /home/u261/src/repo/app/Rakefile:5:in `require'
      /home/u261/src/repo/app/Rakefile:5:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
      /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `load'
      /home/u261/bundle/ruby/2.4.0/bin/bundle:23:in `<main>'
      (See full trace by running task with --trace)


      I use rmagick version 2.16.0. In our solano.yml pre-setup hook looks the following way:



      hooks:
      early:
      # Install ImageMagick
      sudo apt-get update && sudo apt-get -y install imagemagick libmagickwand-dev


      I searched for libgvc.so.5 on the box with sudo find / -name "libgvc*" but I could not find it



      Any thoughts?



      UPDATE 1



      Searching the gems for libgvc gives me



      ag "libgvc" /home/u261/bundle/ruby

      /home/u261/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/rmagick-2.16.0/mkmf.log
      warning: libgvc.so.5, needed by /usr/local/lib/libMagickCore-6.Q16.so, not found (try using -rpath or -rpath-link)


      UPDATE 2



      identify -version outputs



      identify: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory






      imagemagick ubuntu-14.04 rmagick






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '18 at 11:27







      Hirurg103

















      asked Nov 22 '18 at 9:50









      Hirurg103Hirurg103

      1,014715




      1,014715
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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%2fstackoverflow.com%2fquestions%2f53428112%2floaderror-libgvc-so-5-cannot-open-shared-object-file-no-such-file-or-director%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 Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f53428112%2floaderror-libgvc-so-5-cannot-open-shared-object-file-no-such-file-or-director%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

          Wiesbaden

          Marschland

          Dieringhausen