<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mysql Ruby Gem Install Issues &#8212; Solved!</title>
	<atom:link href="http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/</link>
	<description>Thoughts on the web and creativity.</description>
	<lastBuildDate>Sun, 28 Feb 2010 18:23:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Santhosh</title>
		<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/comment-page-1/#comment-494</link>
		<dc:creator>Santhosh</dc:creator>
		<pubDate>Mon, 16 Nov 2009 09:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/#comment-494</guid>
		<description>Thank you, this helped me after searching for an option for a very long time.
Here is the error i have got....

santhosh:~ santhosh$ sudo gem install mysql -v=2.7 -- --with-mysql-lib=/usr/local/mysql/lib/ --with-mysql-include=/usr/local/mysql/include/ --with-mysql-config=/usr/local/mysql/bin/mysql_config 
Building native extensions.  This could take a while...
ERROR:  Error installing mysql:
	ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb --with-mysql-lib=/usr/local/mysql/lib/ --with-mysql-include=/usr/local/mysql/include/ --with-mysql-config=/usr/local/mysql/bin/mysql_config
checking for mysql_ssl_set()... no
checking for mysql.h... yes
creating Makefile

make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_MYSQL_H  -I/usr/local/mysql/include -Os -arch i386 -fno-common -fno-common -arch ppc -arch i386 -Os -pipe -fno-common  -c mysql.c
cc -arch ppc -arch i386 -pipe -bundle -o mysql.bundle mysql.o -L&quot;.&quot; -L&quot;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib&quot; -L. -arch ppc -arch i386    -lruby -L/usr/local/mysql/lib -lmysqlclient -lz -lm  -lpthread -ldl -lm  
ld: warning in /usr/local/mysql/lib/libmysqlclient.dylib, file is not of required architecture
Undefined symbols for architecture ppc:
  &quot;_mysql_store_result&quot;, referenced from:
      _store_result in mysql.o
      _query in mysql.o
  &quot;_mysql_stmt_errno&quot;, referenced from:
      _mysql_stmt_raise in mysql.o
      _stmt_prepare in mysql.o
      _stmt_result_metadata in mysql.o
  &quot;_mysql_stmt_error&quot;, referenced from:
      _mysql_stmt_raise in mysql.o
  &quot;_mysql_options&quot;, referenced from:
      _options in mysql.o
  &quot;_mysql_refresh&quot;, referenced from:
      _refresh in mysql.o
      _reload in mysql.o
  &quot;_mysql_get_client_version&quot;, referenced from:
      _client_version in mysql.o
  &quot;_mysql_stmt_bind_result&quot;, referenced from:
      _stmt_bind_result in mysql.o
      _stmt_execute in mysql.o
  &quot;_mysql_fetch_lengths&quot;, referenced from:
      _fetch_hash2 in mysql.o
      _fetch_lengths in mysql.o
      _fetch_row in mysql.o
  &quot;_mysql_character_set_name&quot;, referenced from:
      _character_set_name in mysql.o
  &quot;_mysql_set_server_option&quot;, referenced from:
      _query in mysql.o
      _set_server_option in mysql.o
  &quot;_mysql_real_query&quot;, referenced from:
      _query in mysql.o
      _query in mysql.o
  &quot;_mysql_num_fields&quot;, referenced from:
      _fetch_hash2 in mysql.o
      _fetch_fields in mysql.o
      _fetch_field_direct in mysql.o
      _fetch_lengths in mysql.o
      _fetch_row in mysql.o
      _num_fields in mysql.o
      _stmt_prepare in mysql.o
  &quot;_mysql_ping&quot;, referenced from:
      _ping in mysql.o
  &quot;_mysql_free_result&quot;, referenced from:
      _free_mysqlres in mysql.o
      _free_mysqlstmt_memory in mysql.o
      _free_mysqlstmt in mysql.o
      _list_dbs in mysql.o
      _list_tables in mysql.o
      _res_free in mysql.o
      _stmt_free_result in mysql.o
  &quot;_mysql_rollback&quot;, referenced from:
      _rollback in mysql.o
  &quot;_mysql_next_result&quot;, referenced from:
      _query in mysql.o
      _next_result in mysql.o
  &quot;_mysql_data_seek&quot;, referenced from:
      _data_seek in mysql.o
  &quot;_mysql_autocommit&quot;, referenced from:
      _autocommit in mysql.o
  &quot;_mysql_debug&quot;, referenced from:
      _my_debug in mysql.o
  &quot;_mysql_stmt_affected_rows&quot;, referenced from:
      _stmt_affected_rows in mysql.o
  &quot;_mysql_stmt_insert_id&quot;, referenced from:
      _stmt_insert_id in mysql.o
  &quot;_mysql_use_result&quot;, referenced from:
      _use_result in mysql.o
  &quot;_mysql_stmt_fetch&quot;, referenced from:
      _stmt_fetch in mysql.o
  &quot;_mysql_stmt_free_result&quot;, referenced from:
      _stmt_free_result in mysql.o
  &quot;_mysql_field_seek&quot;, referenced from:
      _field_seek in mysql.o
  &quot;_mysql_stmt_param_count&quot;, referenced from:
      _stmt_param_count in mysql.o
      _stmt_prepare in mysql.o
  &quot;_mysql_fetch_row&quot;, referenced from:
      _list_dbs in mysql.o
      _list_tables in mysql.o
      _fetch_hash2 in mysql.o
      _fetch_row in mysql.o
  &quot;_mysql_sqlstate&quot;, referenced from:
      _mysql_raise in mysql.o
      _sqlstate in mysql.o
  &quot;_mysql_stmt_sqlstate&quot;, referenced from:
      _mysql_stmt_raise in mysql.o
      _stmt_sqlstate in mysql.o
  &quot;_mysql_list_processes&quot;, referenced from:
      _list_processes in mysql.o
  &quot;_mysql_real_escape_string&quot;, referenced from:
      _real_escape_string in mysql.o
  &quot;_mysql_stmt_bind_param&quot;, referenced from:
      _stmt_execute in mysql.o
  &quot;_mysql_field_count&quot;, referenced from:
      _field_count in mysql.o
      _query in mysql.o
      _query in mysql.o
  &quot;_mysql_field_tell&quot;, referenced from:
      _field_tell in mysql.o
  &quot;_mysql_stmt_result_metadata&quot;, referenced from:
      _stmt_prepare in mysql.o
      _stmt_result_metadata in mysql.o
  &quot;_mysql_list_tables&quot;, referenced from:
      _list_tables in mysql.o
  &quot;_mysql_stmt_prepare&quot;, referenced from:
      _stmt_prepare in mysql.o
  &quot;_mysql_get_client_info&quot;, referenced from:
      _client_info in mysql.o
  &quot;_mysql_thread_id&quot;, referenced from:
      _thread_id in mysql.o
  &quot;_mysql_stmt_execute&quot;, referenced from:
      _stmt_execute in mysql.o
  &quot;_mysql_stmt_init&quot;, referenced from:
      _stmt_init in mysql.o
  &quot;_mysql_stat&quot;, referenced from:
      _my_stat in mysql.o
  &quot;_mysql_stmt_field_count&quot;, referenced from:
      _stmt_field_count in mysql.o
  &quot;_mysql_close&quot;, referenced from:
      _free_mysql in mysql.o
      _my_close in mysql.o
  &quot;_mysql_stmt_data_seek&quot;, referenced from:
      _stmt_data_seek in mysql.o
  &quot;_mysql_fetch_fields&quot;, referenced from:
      _fetch_hash2 in mysql.o
      _fetch_fields in mysql.o
      _stmt_bind_result in mysql.o
      _stmt_execute in mysql.o
      _stmt_prepare in mysql.o
  &quot;_mysql_list_fields&quot;, referenced from:
      _list_fields in mysql.o
  &quot;_mysql_row_seek&quot;, referenced from:
      _row_seek in mysql.o
  &quot;_mysql_change_user&quot;, referenced from:
      _change_user in mysql.o
  &quot;_mysql_stmt_row_seek&quot;, referenced from:
      _stmt_row_seek in mysql.o
  &quot;_mysql_stmt_close&quot;, referenced from:
      _free_mysqlstmt in mysql.o
      _stmt_close in mysql.o
  &quot;_mysql_info&quot;, referenced from:
      _info in mysql.o
  &quot;_mysql_init&quot;, referenced from:
      _init in mysql.o
      _real_connect in mysql.o
  &quot;_mysql_get_server_info&quot;, referenced from:
      _server_info in mysql.o
  &quot;_mysql_fetch_field_direct&quot;, referenced from:
      _fetch_field_direct in mysql.o
  &quot;_mysql_dump_debug_info&quot;, referenced from:
      _dump_debug_info in mysql.o
  &quot;_mysql_row_tell&quot;, referenced from:
      _row_tell in mysql.o
  &quot;_mysql_real_connect&quot;, referenced from:
      _real_connect in mysql.o
      _real_connect2 in mysql.o
  &quot;_mysql_stmt_row_tell&quot;, referenced from:
      _stmt_row_tell in mysql.o
  &quot;_mysql_kill&quot;, referenced from:
      _my_kill in mysql.o
  &quot;_mysql_num_rows&quot;, referenced from:
      _list_dbs in mysql.o
      _list_tables in mysql.o
      _num_rows in mysql.o
  &quot;_mysql_warning_count&quot;, referenced from:
      _warning_count in mysql.o
  &quot;_mysql_stmt_num_rows&quot;, referenced from:
      _stmt_num_rows in mysql.o
  &quot;_mysql_stmt_attr_set&quot;, referenced from:
      _stmt_init in mysql.o
  &quot;_mysql_get_server_version&quot;, referenced from:
      _query in mysql.o
      _server_version in mysql.o
  &quot;_mysql_more_results&quot;, referenced from:
      _more_results in mysql.o
  &quot;_mysql_select_db&quot;, referenced from:
      _select_db in mysql.o
  &quot;_mysql_stmt_store_result&quot;, referenced from:
      _stmt_execute in mysql.o
  &quot;_mysql_get_host_info&quot;, referenced from:
      _host_info in mysql.o
  &quot;_mysql_commit&quot;, referenced from:
      _commit in mysql.o
  &quot;_mysql_shutdown&quot;, referenced from:
      _my_shutdown in mysql.o
  &quot;_mysql_list_dbs&quot;, referenced from:
      _list_dbs in mysql.o
  &quot;_mysql_affected_rows&quot;, referenced from:
      _affected_rows in mysql.o
  &quot;_mysql_insert_id&quot;, referenced from:
      _insert_id in mysql.o
  &quot;_mysql_fetch_field&quot;, referenced from:
      _fetch_field in mysql.o
  &quot;_mysql_get_proto_info&quot;, referenced from:
      _proto_info in mysql.o
  &quot;_mysql_errno&quot;, referenced from:
      _mysql_raise in mysql.o
      _my_close in mysql.o
      _my_errno in mysql.o
  &quot;_mysql_error&quot;, referenced from:
      _mysql_raise in mysql.o
      _my_error in mysql.o
  &quot;_mysql_escape_string&quot;, referenced from:
      _escape_string in mysql.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can&#039;t open input file: /var/tmp//ccbJqM1W.out (No such file or directory)
make: *** [mysql.bundle] Error 1


I used  &quot;sudo env ARCHFLAGS=&#039;-arch i386&#039; gem install mysql -v=2.7 -- --with-mysql-config=/usr/local/mysql/bin/mysql_config&quot; and it worked perfectly.....

Thanks a lot...</description>
		<content:encoded><![CDATA[<p>Thank you, this helped me after searching for an option for a very long time.<br />
Here is the error i have got&#8230;.</p>
<p>santhosh:~ santhosh$ sudo gem install mysql -v=2.7 &#8212; &#8211;with-mysql-lib=/usr/local/mysql/lib/ &#8211;with-mysql-include=/usr/local/mysql/include/ &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
Building native extensions.  This could take a while&#8230;<br />
ERROR:  Error installing mysql:<br />
	ERROR: Failed to build gem native extension.</p>
<p>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb &#8211;with-mysql-lib=/usr/local/mysql/lib/ &#8211;with-mysql-include=/usr/local/mysql/include/ &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config<br />
checking for mysql_ssl_set()&#8230; no<br />
checking for mysql.h&#8230; yes<br />
creating Makefile</p>
<p>make<br />
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -DHAVE_MYSQL_H  -I/usr/local/mysql/include -Os -arch i386 -fno-common -fno-common -arch ppc -arch i386 -Os -pipe -fno-common  -c mysql.c<br />
cc -arch ppc -arch i386 -pipe -bundle -o mysql.bundle mysql.o -L&#8221;.&#8221; -L&#8221;/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib&#8221; -L. -arch ppc -arch i386    -lruby -L/usr/local/mysql/lib -lmysqlclient -lz -lm  -lpthread -ldl -lm<br />
ld: warning in /usr/local/mysql/lib/libmysqlclient.dylib, file is not of required architecture<br />
Undefined symbols for architecture ppc:<br />
  &#8220;_mysql_store_result&#8221;, referenced from:<br />
      _store_result in mysql.o<br />
      _query in mysql.o<br />
  &#8220;_mysql_stmt_errno&#8221;, referenced from:<br />
      _mysql_stmt_raise in mysql.o<br />
      _stmt_prepare in mysql.o<br />
      _stmt_result_metadata in mysql.o<br />
  &#8220;_mysql_stmt_error&#8221;, referenced from:<br />
      _mysql_stmt_raise in mysql.o<br />
  &#8220;_mysql_options&#8221;, referenced from:<br />
      _options in mysql.o<br />
  &#8220;_mysql_refresh&#8221;, referenced from:<br />
      _refresh in mysql.o<br />
      _reload in mysql.o<br />
  &#8220;_mysql_get_client_version&#8221;, referenced from:<br />
      _client_version in mysql.o<br />
  &#8220;_mysql_stmt_bind_result&#8221;, referenced from:<br />
      _stmt_bind_result in mysql.o<br />
      _stmt_execute in mysql.o<br />
  &#8220;_mysql_fetch_lengths&#8221;, referenced from:<br />
      _fetch_hash2 in mysql.o<br />
      _fetch_lengths in mysql.o<br />
      _fetch_row in mysql.o<br />
  &#8220;_mysql_character_set_name&#8221;, referenced from:<br />
      _character_set_name in mysql.o<br />
  &#8220;_mysql_set_server_option&#8221;, referenced from:<br />
      _query in mysql.o<br />
      _set_server_option in mysql.o<br />
  &#8220;_mysql_real_query&#8221;, referenced from:<br />
      _query in mysql.o<br />
      _query in mysql.o<br />
  &#8220;_mysql_num_fields&#8221;, referenced from:<br />
      _fetch_hash2 in mysql.o<br />
      _fetch_fields in mysql.o<br />
      _fetch_field_direct in mysql.o<br />
      _fetch_lengths in mysql.o<br />
      _fetch_row in mysql.o<br />
      _num_fields in mysql.o<br />
      _stmt_prepare in mysql.o<br />
  &#8220;_mysql_ping&#8221;, referenced from:<br />
      _ping in mysql.o<br />
  &#8220;_mysql_free_result&#8221;, referenced from:<br />
      _free_mysqlres in mysql.o<br />
      _free_mysqlstmt_memory in mysql.o<br />
      _free_mysqlstmt in mysql.o<br />
      _list_dbs in mysql.o<br />
      _list_tables in mysql.o<br />
      _res_free in mysql.o<br />
      _stmt_free_result in mysql.o<br />
  &#8220;_mysql_rollback&#8221;, referenced from:<br />
      _rollback in mysql.o<br />
  &#8220;_mysql_next_result&#8221;, referenced from:<br />
      _query in mysql.o<br />
      _next_result in mysql.o<br />
  &#8220;_mysql_data_seek&#8221;, referenced from:<br />
      _data_seek in mysql.o<br />
  &#8220;_mysql_autocommit&#8221;, referenced from:<br />
      _autocommit in mysql.o<br />
  &#8220;_mysql_debug&#8221;, referenced from:<br />
      _my_debug in mysql.o<br />
  &#8220;_mysql_stmt_affected_rows&#8221;, referenced from:<br />
      _stmt_affected_rows in mysql.o<br />
  &#8220;_mysql_stmt_insert_id&#8221;, referenced from:<br />
      _stmt_insert_id in mysql.o<br />
  &#8220;_mysql_use_result&#8221;, referenced from:<br />
      _use_result in mysql.o<br />
  &#8220;_mysql_stmt_fetch&#8221;, referenced from:<br />
      _stmt_fetch in mysql.o<br />
  &#8220;_mysql_stmt_free_result&#8221;, referenced from:<br />
      _stmt_free_result in mysql.o<br />
  &#8220;_mysql_field_seek&#8221;, referenced from:<br />
      _field_seek in mysql.o<br />
  &#8220;_mysql_stmt_param_count&#8221;, referenced from:<br />
      _stmt_param_count in mysql.o<br />
      _stmt_prepare in mysql.o<br />
  &#8220;_mysql_fetch_row&#8221;, referenced from:<br />
      _list_dbs in mysql.o<br />
      _list_tables in mysql.o<br />
      _fetch_hash2 in mysql.o<br />
      _fetch_row in mysql.o<br />
  &#8220;_mysql_sqlstate&#8221;, referenced from:<br />
      _mysql_raise in mysql.o<br />
      _sqlstate in mysql.o<br />
  &#8220;_mysql_stmt_sqlstate&#8221;, referenced from:<br />
      _mysql_stmt_raise in mysql.o<br />
      _stmt_sqlstate in mysql.o<br />
  &#8220;_mysql_list_processes&#8221;, referenced from:<br />
      _list_processes in mysql.o<br />
  &#8220;_mysql_real_escape_string&#8221;, referenced from:<br />
      _real_escape_string in mysql.o<br />
  &#8220;_mysql_stmt_bind_param&#8221;, referenced from:<br />
      _stmt_execute in mysql.o<br />
  &#8220;_mysql_field_count&#8221;, referenced from:<br />
      _field_count in mysql.o<br />
      _query in mysql.o<br />
      _query in mysql.o<br />
  &#8220;_mysql_field_tell&#8221;, referenced from:<br />
      _field_tell in mysql.o<br />
  &#8220;_mysql_stmt_result_metadata&#8221;, referenced from:<br />
      _stmt_prepare in mysql.o<br />
      _stmt_result_metadata in mysql.o<br />
  &#8220;_mysql_list_tables&#8221;, referenced from:<br />
      _list_tables in mysql.o<br />
  &#8220;_mysql_stmt_prepare&#8221;, referenced from:<br />
      _stmt_prepare in mysql.o<br />
  &#8220;_mysql_get_client_info&#8221;, referenced from:<br />
      _client_info in mysql.o<br />
  &#8220;_mysql_thread_id&#8221;, referenced from:<br />
      _thread_id in mysql.o<br />
  &#8220;_mysql_stmt_execute&#8221;, referenced from:<br />
      _stmt_execute in mysql.o<br />
  &#8220;_mysql_stmt_init&#8221;, referenced from:<br />
      _stmt_init in mysql.o<br />
  &#8220;_mysql_stat&#8221;, referenced from:<br />
      _my_stat in mysql.o<br />
  &#8220;_mysql_stmt_field_count&#8221;, referenced from:<br />
      _stmt_field_count in mysql.o<br />
  &#8220;_mysql_close&#8221;, referenced from:<br />
      _free_mysql in mysql.o<br />
      _my_close in mysql.o<br />
  &#8220;_mysql_stmt_data_seek&#8221;, referenced from:<br />
      _stmt_data_seek in mysql.o<br />
  &#8220;_mysql_fetch_fields&#8221;, referenced from:<br />
      _fetch_hash2 in mysql.o<br />
      _fetch_fields in mysql.o<br />
      _stmt_bind_result in mysql.o<br />
      _stmt_execute in mysql.o<br />
      _stmt_prepare in mysql.o<br />
  &#8220;_mysql_list_fields&#8221;, referenced from:<br />
      _list_fields in mysql.o<br />
  &#8220;_mysql_row_seek&#8221;, referenced from:<br />
      _row_seek in mysql.o<br />
  &#8220;_mysql_change_user&#8221;, referenced from:<br />
      _change_user in mysql.o<br />
  &#8220;_mysql_stmt_row_seek&#8221;, referenced from:<br />
      _stmt_row_seek in mysql.o<br />
  &#8220;_mysql_stmt_close&#8221;, referenced from:<br />
      _free_mysqlstmt in mysql.o<br />
      _stmt_close in mysql.o<br />
  &#8220;_mysql_info&#8221;, referenced from:<br />
      _info in mysql.o<br />
  &#8220;_mysql_init&#8221;, referenced from:<br />
      _init in mysql.o<br />
      _real_connect in mysql.o<br />
  &#8220;_mysql_get_server_info&#8221;, referenced from:<br />
      _server_info in mysql.o<br />
  &#8220;_mysql_fetch_field_direct&#8221;, referenced from:<br />
      _fetch_field_direct in mysql.o<br />
  &#8220;_mysql_dump_debug_info&#8221;, referenced from:<br />
      _dump_debug_info in mysql.o<br />
  &#8220;_mysql_row_tell&#8221;, referenced from:<br />
      _row_tell in mysql.o<br />
  &#8220;_mysql_real_connect&#8221;, referenced from:<br />
      _real_connect in mysql.o<br />
      _real_connect2 in mysql.o<br />
  &#8220;_mysql_stmt_row_tell&#8221;, referenced from:<br />
      _stmt_row_tell in mysql.o<br />
  &#8220;_mysql_kill&#8221;, referenced from:<br />
      _my_kill in mysql.o<br />
  &#8220;_mysql_num_rows&#8221;, referenced from:<br />
      _list_dbs in mysql.o<br />
      _list_tables in mysql.o<br />
      _num_rows in mysql.o<br />
  &#8220;_mysql_warning_count&#8221;, referenced from:<br />
      _warning_count in mysql.o<br />
  &#8220;_mysql_stmt_num_rows&#8221;, referenced from:<br />
      _stmt_num_rows in mysql.o<br />
  &#8220;_mysql_stmt_attr_set&#8221;, referenced from:<br />
      _stmt_init in mysql.o<br />
  &#8220;_mysql_get_server_version&#8221;, referenced from:<br />
      _query in mysql.o<br />
      _server_version in mysql.o<br />
  &#8220;_mysql_more_results&#8221;, referenced from:<br />
      _more_results in mysql.o<br />
  &#8220;_mysql_select_db&#8221;, referenced from:<br />
      _select_db in mysql.o<br />
  &#8220;_mysql_stmt_store_result&#8221;, referenced from:<br />
      _stmt_execute in mysql.o<br />
  &#8220;_mysql_get_host_info&#8221;, referenced from:<br />
      _host_info in mysql.o<br />
  &#8220;_mysql_commit&#8221;, referenced from:<br />
      _commit in mysql.o<br />
  &#8220;_mysql_shutdown&#8221;, referenced from:<br />
      _my_shutdown in mysql.o<br />
  &#8220;_mysql_list_dbs&#8221;, referenced from:<br />
      _list_dbs in mysql.o<br />
  &#8220;_mysql_affected_rows&#8221;, referenced from:<br />
      _affected_rows in mysql.o<br />
  &#8220;_mysql_insert_id&#8221;, referenced from:<br />
      _insert_id in mysql.o<br />
  &#8220;_mysql_fetch_field&#8221;, referenced from:<br />
      _fetch_field in mysql.o<br />
  &#8220;_mysql_get_proto_info&#8221;, referenced from:<br />
      _proto_info in mysql.o<br />
  &#8220;_mysql_errno&#8221;, referenced from:<br />
      _mysql_raise in mysql.o<br />
      _my_close in mysql.o<br />
      _my_errno in mysql.o<br />
  &#8220;_mysql_error&#8221;, referenced from:<br />
      _mysql_raise in mysql.o<br />
      _my_error in mysql.o<br />
  &#8220;_mysql_escape_string&#8221;, referenced from:<br />
      _escape_string in mysql.o<br />
ld: symbol(s) not found for architecture ppc<br />
collect2: ld returned 1 exit status<br />
lipo: can&#8217;t open input file: /var/tmp//ccbJqM1W.out (No such file or directory)<br />
make: *** [mysql.bundle] Error 1</p>
<p>I used  &#8220;sudo env ARCHFLAGS=&#8217;-arch i386&#8242; gem install mysql -v=2.7 &#8212; &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_config&#8221; and it worked perfectly&#8230;..</p>
<p>Thanks a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg C</title>
		<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/comment-page-1/#comment-387</link>
		<dc:creator>Greg C</dc:creator>
		<pubDate>Sun, 26 Jul 2009 11:52:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/#comment-387</guid>
		<description>Thanks

&gt; sudo env ARCHFLAGS=&quot;-arch i386&quot; gem install mysql --  --with-mysql-config=/usr/local/mysql/bin/mysql_configPassword:
Building native extensions.  This could take a while...
Successfully installed mysql-2.7
1 gem installed
Installing ri documentation for mysql-2.7...
Installing RDoc documentation for mysql-2.7...</description>
		<content:encoded><![CDATA[<p>Thanks</p>
<p>&gt; sudo env ARCHFLAGS=&#8221;-arch i386&#8243; gem install mysql &#8212;  &#8211;with-mysql-config=/usr/local/mysql/bin/mysql_configPassword:<br />
Building native extensions.  This could take a while&#8230;<br />
Successfully installed mysql-2.7<br />
1 gem installed<br />
Installing ri documentation for mysql-2.7&#8230;<br />
Installing RDoc documentation for mysql-2.7&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/comment-page-1/#comment-334</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Fri, 20 Feb 2009 00:05:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/#comment-334</guid>
		<description>i had to install the mysql gem from source from here http://www.tmtm.org/en/ruby/mysql/</description>
		<content:encoded><![CDATA[<p>i had to install the mysql gem from source from here <a href="http://www.tmtm.org/en/ruby/mysql/" rel="nofollow">http://www.tmtm.org/en/ruby/mysql/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/comment-page-1/#comment-328</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 31 Dec 2008 14:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/#comment-328</guid>
		<description>Thanks, setting ARCHFLAGS got the mysql gem installed on my leopard</description>
		<content:encoded><![CDATA[<p>Thanks, setting ARCHFLAGS got the mysql gem installed on my leopard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dc</title>
		<link>http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/comment-page-1/#comment-291</link>
		<dc:creator>dc</dc:creator>
		<pubDate>Fri, 23 May 2008 21:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gregbenedict.com/2008/02/21/mysql-ruby-gem-install-issues-solved/#comment-291</guid>
		<description>Thanks! The ARCHFLAGS trick fixed my broken RMagick gem install as well.</description>
		<content:encoded><![CDATA[<p>Thanks! The ARCHFLAGS trick fixed my broken RMagick gem install as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
