From: kjana@...4lab.to (YANAGAWA Kazuhisa) Date: 2002-05-26T12:09:09+09:00 Subject: Re: Trouble installing the mysql module In message <3CF005B0.4090608@hotmail.com> fokke_wulf@hotmail.com writes: > gcc -o conftest -I/usr/lib/ruby/1.6/i586-linux-gnu -O3 -pipe > -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce > -I/usr/include -I/usr/lib/include -rdynamic -L/usr/lib/lib > -L/usr/lib/lib/mysql conftest.c -lmysqlclient -lnsl -lz -lm -lc -ldl > -lcrypt -lm > /usr/bin/ld: cannot find -lmysqlclient > > several times. I'm relatively new to linux, and have no idea how to fix > this. What do I do? Assuming MySQL itself is already installed.... Do you really have a directory `/usr/lib/lib' and installed MySQL to that directory? mkmf.log says gcc searched libmysqlclient.so or such from default directories plus /usr/lib/lib and /usr/lib/libmysql and then failed. Probably you mistakenly feed /usr/lib/lib as an argument of extconf.rb or you should pass the correct path to MySQL installation to it. -- kjana@dm4lab.to May 26, 2002 Out of sight, out of mind.