Hi All,

I am trying to parse the rdf file but I am getting error while executing following code in ubuntu

RDF::Reader.open("http://datagraph.org/jhacker/foaf.rdf") do |reader| reader.each_statement do |statement| puts statement.inspect end end

as LoadError: Could not open library 'libraptor': libraptor: cannot open shared object file: No such file or directory. Could not open library 'libraptor.so': libraptor.so: cannot open shared object file: No such file or directory

I installed all the required gems: rdf rdf-raptor ffi rdf-json rdf-trix

Please help me how to rectify this problem

thanks in advance

Naveenkumr.R

asked 06 Feb '11, 05:39

rnaveen31's gravatar image

rnaveen31
314
accept rate: 0%


Did you install it through aptitude or downloaded the packages?

It looks like it's possible to install libraptor1 which may contain the missing libs

carl@cargil:~$ aptitude search libraptor

v libraptor-dev -

p libraptor1 - Raptor RDF parser and serializer library

p libraptor1-dbg - Raptor RDF parser and serializer library -

p libraptor1-dev - Raptor RDF parser and serializer developme

p libraptor1-doc - Documentation for the Raptor RDF parser an

link

answered 06 Feb '11, 13:04

Carl's gravatar image

Carl
49228
accept rate: 25%

thanks.it worked prfectly without any error

(07 Feb '11, 05:32) rnaveen31 rnaveen31's gravatar image

Could you vote up my answer as you've accepted it :)

(07 Feb '11, 15:13) Carl Carl's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×802
×33

Asked: 06 Feb '11, 05:39

Seen: 1,184 times

Last updated: 06 Feb '11, 13:04