Error using rmagick in rails application

前端 未结 2 1357
渐次进展
渐次进展 2021-01-16 09:38

I am getting following error when trying to run rails application:-

/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rmagick-2.12.2/lib/RMag

相关标签:
2条回答
  • 2021-01-16 10:06

    I solved this problem on RHEL5 with the following changes:

    • Create /etc/ld.so.conf.d/local.conf
    • add the following lines:

      /usr/lib
      /usr/local/lib

    • run ldconfig

    This fixed the issue for me. (On to the next dependency ..)

    0 讨论(0)
  • 2021-01-16 10:29

    What Linux system is this one exactly? It seems it is missing libMagickCore.so.4. If I look in my Ubuntu, I see it belongs to the package libmagickcoreX", where theX` stands for the version. The most I've seen int he last Ubuntu is version 3, but I've seen RPMs with version 4, so in your system you may be able to install that package version.

    0 讨论(0)
提交回复
热议问题