[redland-dev] installing ruby binding - issue with ruby library

colin mcenearney colinmcenearney at yahoo.com
Thu May 16 12:46:02 EDT 2013


Hi,

Installing redland ruby binding, I am stuck  after running ./configure --with-ruby


17666 0 redland-bindings-1.0.16.1 $ make
make  all-recursive
Making all in ruby
Making all in lib
Making all in rdf
Making all in redland
Making all in schemas
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `all-am'.
make[5]: Nothing to be done for `all-am'.
make[4]: Nothing to be done for `all-am'.
Making all in test
make[3]: Nothing to be done for `all'.
gcc -g -O2 redland_wrap.o -L/usr/local/lib -lrdf     -bundle -flat_namespace -undefined suppress -lruby.1.9.1 -o redland.bundle
ld: library not found for -lruby.1.9.1
collect2: ld returned 1 exit status
make[3]: *** [redland-stamp] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I would try updating this line in the Makefile, but I am not sure how to find the correct value for the ruby library


RUBY_LDFLAGS =  -bundle -flat_namespace -undefined suppress -lruby.1.9.1


I am using rvm, but that doesn't seem to have tripped things up anywhere else.


Any pointers much appreciated,

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.librdf.org/pipermail/redland-dev/attachments/20130516/001ef5c7/attachment.html>


More information about the redland-dev mailing list