Holden,

Not sure, but do you need to add /usr/local/lib to your LD_LIBRARY_PATH?
That may be required for the dynamic library loading to find libFOX.so.

Lyle

"Holden Glova" <dsafari / paradise.net.nz> wrote in message
news:01030521391902.00375 / eugene...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello all,
>
> I've installed fox 0.99.147 and have compiled the FXRuby to produce
fox.so.
> When I try to run the hello.rb examples I get the following.
>
> synack@eugene:~/tmp/FXRuby-0.99.147/examples$ ruby hello.rb
> hello.rb:3:in `require': libFOX-0.99.so.147: cannot load shared object
file:
> No such file or directory - /usr/lib/ruby/1.6/i486-linux/fox.so
(LoadError)
>         from hello.rb:3
>
> locate reveals the following:
> synack@eugene:~/tmp/FXRuby-0.99.147/examples$ locate fox.so
> /usr/lib/ruby/1.6/i486-linux/fox.so
>
> synack@eugene:~$ locate libFOX
> /usr/local/lib/libFOX-0.99.so.147
> /usr/local/lib/libFOX-0.99.so.147.0.0
> /usr/local/lib/libFOX.a
> /usr/local/lib/libFOX.la
> /usr/local/lib/libFOX.so
>
> Any ideas what I'm missing here?
> - --
> Signed,
> Holden Glova
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE6o1C4zrxa+Gy/b/4RAkMoAJ0aH9qYlZVakjJpArXyJ6OZTmnZJQCfelkt
> bfAYlcethdTsK7ye9EhWhJM=
> =zKGW
> -----END PGP SIGNATURE-----