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

Carl van Tonder carl at supervacuo.com
Tue Aug 11 12:44:06 BST 2009


Do you have mysql development libraries installed? The mysql gem is a
native compiled one, so it requires real header files.

Carl.

On Tue, 2009-08-11 at 11:24 +0100, Neil wrote:
> 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?
> 
> 
> 
> _______________________________________________
> Cc-webedit mailing list
> Cc-webedit at lists.aktivix.org
> https://lists.aktivix.org/mailman/listinfo/cc-webedit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <https://lists.aktivix.org/pipermail/cc-webedit/attachments/20090811/1723bbf1/attachment.pgp>


More information about the Cc-webedit mailing list