ts <decoux / moulon.inra.fr> wrote in message news:<1w777.14973$4v6.1308226 / e420r-atl3.usenetserver.com>...
> >>>>> "R" == Robbie Gilbert <rgilbert1 / mindspring.com> writes:
> 
> R> $ irb
> R> irb(main):001:0> require 'fox'
> R> LoadError: dlopen: Win32 error 127 -
> R> /home/ruby/lib/ruby/1.6/i386-cygwin/fox.so
> R>         from (irb):1:in `require'
> R>         from (irb):1
> R> irb(main):002:0>
> 
>  Try to put in LD_LIBRARY_PATH the directory where is located libFOX
> 
> 
> Guy Decoux


Actually I did add the directory where libFOX is located to my
LD_LIBRARY_PATH:

$ echo $LD_LIBRARY_PATH
/home/ruby/lib/ruby1.6/i386-cygwin:/usr/local/lib
$

I got the same error.  I notice in /usr/local/lib that the FOX
libraries are:

$ ls /usr/local/lib
libFOX.a  libFOX.la
$

I built the fox libraries from scratch.  Not sure if these are the
right libraries or not--I assume I don't want a shared library?  The
instructions for building fox on cygwin/Windows NT said to build it
with --disable-shared, which I did, but then I also built it without
that option (which is when the libFOX.la was created), but I got the
same error both ways.

Robbie