# Fox, FXRuby, fxscintilla and FreeRide - again

**URL:** <https://rubytalk.org/t/fox-fxruby-fxscintilla-and-freeride-again/3861>\
**Category:** ruby-talk\
**Created:** [30 December 2002 23:19 UTC](https://rubytalk.org/t/fox-fxruby-fxscintilla-and-freeride-again/3861 "2002-12-30T23:19:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyle\_Johnson4](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Lyle\_Johnson4](https://rubytalk.org/u/Lyle_Johnson4)\
**Post date:** [30 December 2002 23:19 UTC](https://rubytalk.org/t/fox-fxruby-fxscintilla-and-freeride-again/3861/1 "2002-12-30T23:19:49Z")

</div>

Sigh.

As I know I've said in a previous post, there is no point in your trying  
FreeRIDE if you already know that any of its dependencies are broken.  
There's also little point in using RPMs built for some unknown operating system.

How do you \*know\* that FXRuby is not working? I am not questioning the fact  
that it isn't working on your system -- I just need to know what happens  
when you try to run, say, the "hello.rb" example program that comes with  
FXRuby. For example, if you see an error message like:

hello.rb:3:in `require': No such file to load -- fox (LoadError)  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from hello.rb:3

it means that FXRuby either is installed in the wrong directory or isn't  
installed at all (which are the same thing as far as Ruby is concerned). If  
on the other hand you see an error message like:

LoadError: libFOX-1.0.so.0: cannot open shared object file: No such file or  
directory - /usr/lib/ruby/1.6/i686-linux/fox.so  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from (irb):1:in 'require'  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from (irb):1

it may mean that the FOX library is not in the search library for  
dynamically loadable libraries. This problem is described in the FXRuby  
User's Guide here:

&nbsp;&nbsp;&nbsp;&nbsp;[http://www.fxruby.org/doc/build.html](http://www.fxruby.org/doc/build.html)

under the topic "Cannot load library".

> **···**
>
> On Mon, 30 Dec 2002 17:53:08 -0500 (EST), Daniel Carrera \<dcarrera@math.umd.edu\> wrote :
> 
> > On Mon, 30 Dec 2002, Lyle Johnson wrote:  
> > \>  
> > \> What steps have you taken to confirm that your FOX, FXRuby and  
> > \> FXScintilla installations worked properly? For example, did you try to  
> > \> run any of the FXRuby example programs?
> > 
> > I know that FXRuby is not working. I have not figured out how to test  
> > fox since, like I said, it was an rpm install.

---

<div class="post-metadata">

**Author:** ![Daniel\_Carrera](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@Daniel\_Carrera](https://rubytalk.org/u/Daniel_Carrera)\
**Post date:** [30 December 2002 23:57 UTC](https://rubytalk.org/t/fox-fxruby-fxscintilla-and-freeride-again/3861/2 "2002-12-30T23:57:14Z")

</div>

> There's also little point in using RPMs built for some unknown  
> operating system.

In years, I've never had this kind of trouble with RPMs.

> hello.rb:3:in `require': No such file to load -- fox (LoadError)  
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from hello.rb:3

This is the message I get.

> it means that FXRuby either is installed in the wrong directory or isn't  
> installed at all (which are the same thing as far as Ruby is concerned).

This is odd, all the files are installed in  
/usr/lib/ruby/site\_ruby/1.6/fox/ except for fox.rb which is missing. Even  
the source distribution doesn't seem to have "fox.rb"

Daniel

---

<div class="post-metadata">

**Author:** ![Lyle\_Johnson6](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@Lyle\_Johnson6](https://rubytalk.org/u/Lyle_Johnson6)\
**Post date:** [31 December 2002 00:40 UTC](https://rubytalk.org/t/fox-fxruby-fxscintilla-and-freeride-again/3861/3 "2002-12-31T00:40:53Z")

</div>

Daniel Carrera wrote:

> > hello.rb:3:in `require’: No such file to load – fox (LoadError)  
> > from hello.rb:3
> 
> This is the message I get.
> 
> > it means that FXRuby either is installed in the wrong directory or isn’t  
> > installed at all (which are the same thing as far as Ruby is concerned).
> 
> This is odd, all the files are installed in  
> /usr/lib/ruby/site\_ruby/1.6/fox/ except for fox.rb which is missing. Even  
> the source distribution doesn’t seem to have “fox.rb”.

There is no “fox.rb” file since it’s a compiled extension module and not  
a pure Ruby library. The file name you’re looking for is “fox.so” and  
should be in (I guess):

```
 /usr/lib/ruby/site_ruby/1.6/i686-linux

```
