# Problem with HTree installation

**URL:** <https://www.ruby-forum.com/t/problem-with-htree-installation/98360>\
**Category:** Ruby\
**Created:** [July 14, 2006, 2:48am UTC](https://www.ruby-forum.com/t/problem-with-htree-installation/98360 "2006-07-14T02:48:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmg-eric](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/f04885/32.png) [@xmg-eric](https://www.ruby-forum.com/u/xmg-eric)\
**Post date:** [July 14, 2006, 2:48am UTC](https://www.ruby-forum.com/t/problem-with-htree-installation/98360/1 "2006-07-14T02:48:48Z")

</div>

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: in`require’ 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: in`require’ 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.)
