On Wed, May 4, 2011 at 2:21 PM, Ruby Student <ruby.student / gmail.com> wrote:
> After 10 hours of playing with this, I thought I got it.
> I passed the mechanize, the libxml2, the openssl, the /osama/bin/laden, etc.
> And just when I thought T had it, I got the following.
> Please notice that I am only copying a small segment (the end) of the
> output, which I think is the relevant part:
>
> rm -f dist/shoes
> rm -f dist/shoes-bin
> gcc -Ldist -o dist/shoes-bin bin/main.o -lruby -lcairo -lpangocairo-1.0
> -lungif -ljpeg -lrt -L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0
> -lgmodule-2.0 -lglib-2.0 lshoes -L. rdynamic -Wl,-export-dynamic
> bin/main.o: In function `main':
> main.c:(.text+0x64): undefined reference to `ruby_snprintf'
> main.c:(.text+0xa7): undefined reference to `ruby_run_node'
> dist/libshoes.so: undefined reference to `ruby_vsnprintf'
> dist/libshoes.so: undefined reference to `rb_str_new_cstr'
> dist/libshoes.so: undefined reference to `rb_intern2'
> collect2: ld returned 1 exit status
> rake aborted!

I couldn't replicate your issue, but I uploaded my build:
https://github.com/downloads/fjc/shoes/shoes-el6-x86_64.tar.gz