This looks like you have a 32-bit Ruby and are trying to link to the 64-bit MySQL.
On Mon, Oct 17, 2011 at 1:24 PM, robert.morti...@gmail.com < robert.morti...@gmail.com> wrote: > > > On Oct 17, 9:05 pm, Todd Zullinger <t...@pobox.com> wrote: > > robert.morti...@gmail.com wrote: > > > I am having no joy installing Puppet Server with MySQL support from > > > the EPEL on Centos 6. The active record support for MySQL seems to be > > > missing. Has anyone seen a good howto for this? > > > > Sadly, rubygem-rails is not built for EL-6. You can either rebuild > > the 2.3.8 packages from Fedora or find someone to act as a maintainer > > for these in EPEL. > > > But the puppet was from the epel, I sort of assumed it would have the > correct mysql > > When I attempt the gem install I get:- > > gem install mysql --with-mysql-include=/usr/include/mysql --with- > mysql-libs=/usr/lib64/mysql > /usr/lib/ruby/1.8/thread.so: /usr/lib/ruby/1.8/thread.so: wrong ELF > class: ELFCLASS32 - /usr/lib/ruby/1.8/thread.so (LoadError) > from /usr/lib/ruby/1.8/thread.rb:5 > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11:in `require' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:11 > from /usr/bin/gem:8:in `require' > from /usr/bin/gem:8 > > I have mysql-develop, the ruby dev and gcc installed > > > > > -- > > Todd OpenPGP -> KeyID: 0xBEAF0CE3 | > > URL:www.pobox.com/~tmz/pgp<http://www.pobox.com/%7Etmz/pgp> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > A word to the wise ain't necessary -- it's the stupid ones who need > > the advice. > > -- Bill Cosby > > > > application_pgp-signature_part > > < 1KViewDownload > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.