Doesn't seem to
/home/ahmad/.gem/ruby/1.9.1/gems/rmagick-2.13.1/lib/RMagick.rb:11:in `require': no such file to load -- RMagick2.so (LoadError)
from /home/ahmad/.gem/ruby/1.9.1/gems/rmagick-2.13.1/lib/RMagick.rb:11:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/pdfbeads-1.0.3/lib/pdfbeads.rb:36:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/pdfbeads-1.0.3/lib/pdfbeads.rb:36:in `<top (required)>'
from /usr/lib/ruby/gems/1.9.1/gems/pdfbeads-1.0.3/bin/pdfbeads:38:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/pdfbeads-1.0.3/bin/pdfbeads:38:in `<top (required)>'
from /usr/bin/pdfbeads:19:in `load'
from /usr/bin/pdfbeads:19:in `<main>'
I do not think this is a Slackware problem; am opening an issue with RMagick on github... (yes I tried the git version too.. same failure to compile).
EDIT: .tgz provided in that zip (2.5.1) is too old for 13.1's version of ImageMagick; using the SlackBuild with 2.13.1 (latest, supposedly compatible) fails with same error...