freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR-devel] RE: Debian Packages for FreeRIDE 0.5.0rc1


From: address@hidden
Subject: Re: [FR-devel] RE: Debian Packages for FreeRIDE 0.5.0rc1
Date: 6 Jul 2003 01:24:22 -0000

On 05 Jul 2003 16:08:22 -0700, Kevin Smith <address@hidden> wrote :

> Simple enough. It fails. Same with all the fxruby examples.
> 
> I'm running:
> 
> Debian "Sarge" Linux
> g++ 3.3
> libfox 1.0.42-1 (from Debian "unstable")
> libfox-ruby 1.0.21-1 (from the freeride .deb)
> 
> I was able to compile and run a simple C++ FOX "hello world"
> application.

Kevin et al,

I don't really want to get in the middle of this since I'm not running
Debian, didn't create the Debian packages, and can't "fix" this for you. But
I do see what's wrong ;)

FXRuby is a Ruby extension module that is provided by the "fox.so" shared
object, and it appears to have been correctly installed here:

    /usr/lib/ruby/1.6/i386-linux/fox.so

so that's good. This shared object file depends on the FOX library, which is
a separate library and which must be installed somewhere in the search path
for shared libraries. This is a parallel to the situation that Ruby/GTK
depends on the (separate) GTK+ runtime libraries, Ruby/Qt depends on the Qt
runtime libraries, etc.

If the FOX library (libFOX.so) isn't installed, or isn't installed somewhere
in the search path for dynamically loaded libraries, you will get an error
like the one Kevin showed, i.e.

    undefined symbol: _ZN8FXWindow16acquireSelectionEPKjj ...

This problem (with solution) is described in the FXRuby installation
instructions here:

    http://www.fxruby.org/doc/build.html

Look towards the bottom of the page under the heading "Cannot load library".

Hope this helps,

Lyle




reply via email to

[Prev in Thread] Current Thread [Next in Thread]