Linking Ruby to C++ via SWIG in Cygwin: missing ruby.a

Nope, I only have ruby.h, ruby.exe, and ruby.1.

···

On Sun, Feb 16, 2003 at 05:06:09AM +0900, Alan Baljeu wrote:

If I drop the -lruby, I get these errors:

So I think I’m missing ruby.o. But why, and where can I get it?

It’s a library; don’t know about Cygwin but under Unix it would be ruby.a
(or ruby.so for a shared library)

If you can find that file, try setting LDFLAGS=-L/path/to/dir before
compiling.

Regards,

Brian.