[redland-dev] Ruby bindings make problem...

Ryan Gendron gendron9 at telus.net
Sat Dec 10 04:04:34 GMT 2005


Hi!

I'm looking forward to using Redland with with ruby bindings.
Unforunately, I am having a problem with the installation.

During the make of redland-bindings-1.0.2.1, it stops with the following


/usr/bin/ld: cannot find -lruby
collect2: ld returned 1 exit status
make[2]: *** [ruby-redland-stamp] Error 1
make[2]: Leaving directory `/usr/local/src/redland-bindings-1.0.2.1/ruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/redland-bindings-1.0.2.1/ruby'
make: *** [all-recursive] Error 1

I configure like so
./configure --with-ruby=/usr/local/bin/ruby

The settings in the makefile related to ruby are like this:

RUBY = /usr/local/bin/ruby
RUBY_DIR = /usr/local/lib/ruby/1.8/i686-linux
RUBY_INCLUDES = -I/usr/local/lib/ruby/1.8/i686-linux
RUBY_LIB = ruby
RUBY_LIBDIR = /usr/local/lib/ruby/1.8
RUBY_VERSION = 1.8.3

If anyone has any ideas as to what I am doing wrong, I would really
appreciate you sharing your wisdom.

Thank-you much!

~ Ryan




More information about the redland-dev mailing list