Strange problems while compiling eruby

Hello,

I have problem compiling eruby.
running:
./configure.rb --enable-shared --with-charset=iso-8859-2
make

produces:

gcc -shared -Wl,-soname,liberuby.so.1.0 eruby_lib.o -lruby -ldl -lcrypt -lm -o liberuby.so.1.0.1
/usr/bin/ld: cannot find -lruby
collect2: ld returned 1 exit status
make: *** [liberuby.so.1.0.1] Error 1

I’m using own compiled ruby from cvs tree which is configured with
–prefix=/home/iowa/opt/ruby-1.8.0-2003.01.18
–enable-shared

I also try to
$ export LD_LIBRARY_PATH=/home/iowa/opt/ruby-1.8.0-2003.01.18/lib
befor running make.

···


Radek Hnilica

No matter how far down the wrong road you’ve gone, turn back.
Turkish proverb