David Fung wrote: > I had the same problem as Daniel (except that i am using Mandrake 7.1) and > after adding the -lz flag to the following line in the Makefile generated > by running "ruby extconf.rb" > > DLDFLAGS = -L/usr/lib/mysql -lz > > the test.rb runs fine! > > Thanks Guy for your tips. > > -David It's all good now! What you do on Mandrake 7.1 works fine too on Mandrake 7.2. :) Thanks all -- Daniel Nicault daniel.nicault / free.fr