From: Sean Middleditch Date: 2002-03-25T02:11:01+09:00 Subject: Re: embedding ruby/unix newbie You are using -lruby, right? Also, make sure libruby.a/libruby.so is in your library path. If you installed Ruby into /usr/local, you might need to use the -L/usr/local/lib flag when compiling, as well: cc -o myprog myprog.o -L/usr/local/lib -lruby On Sun, 2002-03-24 at 11:56, Michael James Lanouette wrote: > This is as much about unix problems as it is about ruby itself. > I am attempting to embed ruby into C programs, but I can not get the > program to link to the ruby files, I can get them to compile, but during > linking the functions from ruby.h can not be linked in. Could someone > please shoot me a sample make file or let me know if there are any > settings i must include to get them to link. > thanks for the help > Mike Lanouette >