-------- Original Message --------
Subject: [ruby-vpi-help][16951] RE: Installing
Date: Fri, 12 Jan 2007 13:52:20 -0500 (EST)
From: Suraj Kurapati <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Derek Graham wrote:
> So it can't find the ruby library.

Bingo! That is the real problem.

> Are the libruby and ruby version numbers supposed to be
> different?

No, they should be same. Check value of Config::CONFIG['LIBRUBY_SO']

> Extracting the tar'd download and doing a `rake build' gives the
> same problem.

Could you please try this with a fresh extraction of the tar.gz package:

1. replace the ext/extconf.rb file with this one:

  http://www.soe.ucsc.edu/~snk/pub/src/ruby-vpi/ext/extconf.rb

2. run 'rake build' in the extracted dir

> If I do:
>
> irb(main):002:0> require 'rbconfig'
> => true
> irb(main):003:0> print Config::CONFIG["LIBRUBY"]
> libruby-static.a=> nil
>
> Should libruby.so be there too?

No, this is fine. The SO file is given by Config::CONFIG["LIBRUBY_SO"]

Reply via email to