From: Haley Thrapp Date: 2007-11-14T04:02:36+09:00 Subject: Re: rrdtool gem Joel VanderWerf wrote: > Haley Thrapp wrote: >> there are a number of rrd commands that are not defined in RRDtool.so. >> /usr/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0/test/RRDtool.so: undefined >> (2) >> \u2018rrd_update_r\u2019 from incompatible pointer type >> i386-redhat-linux-gcc -shared -L"/usr/lib" -o RRDtool.so rubyrrdtool.o >> -lruby -lart_lgpl_2 -lfreetype -lpng -lz -lpthread -ldl -lcrypt -lm >> -lc >> >> Attachments: >> http://www.ruby-forum.com/attachment/965/Makefile >> > > The "-lrrd" seems to be missing from your Makefile (and hence from the > link step above). > > Mine looks like this: > > LIBS = -lrrd -lart_lgpl_2 -lfreetype -lpng -lz -lpthread -ldl -lcrypt > -lm -lc > > Can you show your mkmf.log? Thanks, it was the -lrrd that was missing. I had to move the .so files so that they could be found correctly, but it appears to be working now. Haley -- Posted via http://www.ruby-forum.com/.