Hello Andre, I too faced the exact same error several times not sure what worked for me. But you can google it for some option, something will work. I am optimistic that only by specifying the various option you can able to figure it out.
Please give a try with below option gem install mysql -- --with-mysql-config=/<path to mysql>/mysql/mysql_config or gem install mysql -- --with-opt-lib=/<path to mysql>/mysql/lib Where you are specifying mysql try giving the option. mysql -- --with-mysql-config=/<path to mysql>/mysql/mysql_config but as u r installing from cpanel I am not sure you have access to the mysql installation path or not. Thanks! Butu On Mon, Jan 31, 2011 at 6:51 AM, dan <[email protected]> wrote: > André Freitas <[email protected]> > 2011年1月31日 2:06 > > Hi dear members, > I'm having a problem in installing Mysql Gem on cPanel. I searched the > web for a solution, but I didn't get relevant solutions to solve this > issue. The problem picture is in this document http://bit.ly/dM3VMT. > Thanks for your attention. > > Regards, > André. > > ------------------------------ > > I am curious why the errors didn't include the --with-mysql-dir option,but > you may try it > > gem install mysql -- --with-mysql-dir=/usr/local/mysql > > the mysql dir is important,ruby know the mysql installation because it will > copy some .so files to ruby library > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

