Problem with HTree installation

I added HTree to my installation at
/my/ruby/1.8.4/bin/ruby

The installation seemed to go fine. Afterwards, I found
the htree.rb and htree/ directory in site_ruby/1.8,
as expected.

But the require statement (require ‘htree’) produces the
following error:


/my/ruby/1.8.4/lib/ruby/1.8/sparc-solaris2.9/iconv.so:
ld.so.1: ruby: fatal: libiconv.so.2: open failed:
No such file or directory -
/my/ruby/1.8.4/lib/ruby/1.8/sparc-solaris2.9/iconv.so
(LoadError)
from
/my/ruby/1.8.4/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21
in require' from /my/ruby/1.8.4/lib/ruby/site_ruby/1.8/htree/encoder.rb:1 from /my/ruby/1.8.4/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21: inrequire’
from
/my/ruby/1.8.4/lib/ruby/site_ruby/1.8/htree/text.rb:4
from
/my/1.8.4/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:
in require' from /my/ruby/1.8.4/lib/ruby/site_ruby/1.8/htree/parse.rb:3 from /my/ruby/1.8.4/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21: inrequire’
from
/my/ruby/1.8.4/lib/ruby/site_ruby/1.8/htree.rb:89
from
/my/ruby/1.8.4/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:
in `require’
from html2man:23

Any clue what the problem is?

Note:
If it helps
% ls /my/ruby/1.8.4/
lib/ruby/1.8/sparc-solaris2.9/
shows
iconv.so

but not
libiconv.so.2

Also:
/my/ruby is in a non-standard location, so there
is the possiblity that some HTree module needs to
be recompiled. (But they all seemed to be .rb files.)