Problem with Rails 2.3.2 on Ubuntu 9.04: libWand.so.10 missing

Upgraded to Ubuntu 9.04 from 8.10 and now I get this:

/usr/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so: libWand.so. 10: cannot open shared object file: No such file or directory - /usr/ lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so (LoadError)

Unfortunately the ImageMagick stuff is very confusing, and I've no idea what I need to have installed.I have /usr/lib/libMagickWand.so, but no "libWand".

Help much appreciated...

Well, for the record, I solved it with a symlink

/usr/lib/libWand.so.10 -> /usr/lib/libMagickWand.so.1.0.0

I just needed to re-install the imagemagick libs and gem and it worked again: sudo apt-get install imagemagick sudo apt-get install libmagick9-dev sudo gem install rmagick