[redland-dev] No such file to load -- redland (LoadError)

Rob . rob.02004 at gmail.com
Fri Oct 8 05:36:43 BST 2004


When I try to run a script that uses rdf-redland I get the following error:

> ruby -rubygems parse.rb
/usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__': No such file to load -- redland (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
        from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/store.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
        from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland/model.rb:2
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
        from /usr/local/lib/ruby/gems/1.8/gems/rdf-redland-0.5.1.3/lib/rdf/redland.rb:1
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require__'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:5:in
`require'
        from parse.rb:1


I have rdf-redland 0.5.1.3 installed:
> gem list rdf 
*** LOCAL GEMS *** 
rdf-redland (0.5.1.3)

I have compiled and installed redland 0.9.18:
> ./configure --with-ruby
> make
> make install

Any ideas on how to prevent the "No such file to load -- redland"
error? Is it trying to load the redland.h file from the redland
install?

Cheers,
Rob



More information about the redland-dev mailing list