Ruby 1.9.2 via rvm installation woes
I’ve just had to upgrade Ruby to 1.9.2 (from 1.8.7) on the EC2 instance, but ran into a weird error while running rvm install 1.9.2:
Compiling yaml in /home/ubuntu/.rvm/src/yaml-0.1.4. ERROR: Error running 'make ', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.log Installing yaml to /home/ubuntu/.rvm/usr ERROR: Error running 'make install', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log
and in the log:
src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again. src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure src/Makefile.am:2: its definition is in aclocal's search path.
Fortunately the solution was rather simple, although Google was not really that helpful this time, hence this post:
sudo aptitude install libtool
Basically the libtool library was not installed.

November 9th, 2011 at 11:22 pm
Thanks bro!
November 14th, 2011 at 12:44 am
Paul – thanks to you, Google is now very helpful. This was the first result.
November 19th, 2011 at 9:03 pm
Great. Thanks!!!!!
November 27th, 2011 at 6:42 pm
Thanks! helped me as well
December 12th, 2011 at 3:58 pm
Thank you too, I’d probably figure it out sooner or later but this was faster.
January 25th, 2012 at 11:45 pm
Thanks a lot. This was the exact issue I was facing