[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Strange Behavior

Todd Phillips

10/2/2003 7:18:00 PM

1 Answer

matz

10/2/2003 11:30:00 PM

0

Hi,

In message "Strange Behavior"
on 03/10/03, Todd Phillips <tp517@andrew.cmu.edu> writes:

|The problem seems to be in c code calling ruby calling c code.

|$ gcc -o simple -I/usr/lib/ruby/1.6/i386-linux/ simple.c
|-L/usr/lib/ruby/1.6/i386-linux/ -lruby -ldl -lcrypt -lm

On Linux, you need to specify -rdynamic, if you want to load extension
from your program.

matz.