diff --git a/.travis.yml b/.travis.yml index 4396e83..cdbfe96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,4 @@ matrix: - rvm: rbx-2 before_install: - sudo apt-get install libraptor2-0 - - sudo ln -s /usr/lib/libraptor2.so.0 /usr/lib/libraptor2.so cache: bundler diff --git a/lib/rdf/raptor.rb b/lib/rdf/raptor.rb index 38912a9..9869541 100644 --- a/lib/rdf/raptor.rb +++ b/lib/rdf/raptor.rb @@ -79,7 +79,7 @@ module RDF # @author [Arto Bendiken](http://github.com/bendiken) # @author [John Fieber](http://github.com/jfieber) module Raptor - LIBRAPTOR = ENV['RDF_RAPTOR_LIBPATH'] || 'libraptor2' unless const_defined?(:LIBRAPTOR) + LIBRAPTOR = ENV['RDF_RAPTOR_LIBPATH'] || ['libraptor2', 'libraptor2.so.0'] unless const_defined?(:LIBRAPTOR) RAPPER = ENV['RDF_RAPTOR_BINPATH'] || 'rapper' unless const_defined?(:RAPPER) require 'rdf/raptor/version'