Forum: Ruby on Rails Simple Captcha setup problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ffd881829651935d986c52d12279befb?d=identicon&s=25 Zhenning Guan (rubyernewbie)
on 2009-03-02 08:45
$ rake simple_captcha:setup
rake aborted!
libMagickCore.so.1: cannot open shared object file: No such file or
directory - /usr/lib/ruby/site_ruby/1.8/x86_64-linux/RMagick.so

(See full trace by running task with --trace)

how can I fix it?
F04a22457fcbfee2afc77e77482abe08?d=identicon&s=25 Rails List (railslist)
on 2009-03-02 10:09
Zhenning Guan wrote:
> $ rake simple_captcha:setup
> rake aborted!
> libMagickCore.so.1: cannot open shared object file: No such file or
> directory - /usr/lib/ruby/site_ruby/1.8/x86_64-linux/RMagick.so
>
> (See full trace by running task with --trace)
>
> how can I fix it?

This is because it is unable to find the library files.  The best thing
to do would be to login as root and issue

ldconfig /usr/lib

alternatively, try exporting the path of libs to current path
80e4cb97cae5c8d745f72337d93fd8f2?d=identicon&s=25 MaD (Guest)
on 2009-03-02 10:10
(Received via mailing list)
just install RMagick / ImageMagick (there should be a gem for this).
Ffd881829651935d986c52d12279befb?d=identicon&s=25 Zhenning Guan (rubyernewbie)
on 2009-03-02 13:34
Rails List wrote:
>
> This is because it is unable to find the library files.  The best thing
> to do would be to login as root and issue
>
> ldconfig /usr/lib
>
> alternatively, try exporting the path of libs to current path

it's done when I reinstall my rmagick and i*magick.
This topic is locked and can not be replied to.