[Cc-webedit] "Be The Media" & Website - More info

Neil neil_bye at hotmail.com
Tue Aug 11 11:24:37 BST 2009


This is what I'm doing

neil at neil-laptop:~/rubygems-1.3.1$ sudo gem install mysql --
--with-mysql-dir=/usr/share/mysql
[sudo] password for neil: 
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
	ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb install mysql --
--with-mysql-dir=/usr/share/mysql
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lm... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lz... yes
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lsocket... no
checking for mysql_query() in -lmysqlclient... no
checking for main() in -lnsl... yes
checking for mysql_query() in -lmysqlclient... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

mkmf.log says /usr/bin/ld: cannot find -lmysqlclient
Why not?





More information about the Cc-webedit mailing list