From: Pw Ktp Date: 2010-08-13T23:03:52+09:00 Subject: Re: libstdc++ Brian Candler wrote: > Pw Ktp wrote: >> when trying to install a gem i am getting a 'libstdc++' not installed >> but when i check i have libstdc++6 and libstdc++5 in a ubuntu 7.10 >> install. > > Please post the gem install command and the *exact* response you get > back from it (using copy-paste). here :/$ sudo gem install derailed-rhouse Building native extensions. This could take a while... ERROR: Error installing derailed-rhouse: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for main() in -lstdc++... no You must have libstdc++ installed. *** 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. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby1.8 --with-stdc++lib --without-stdc++lib Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0/ext/gem_make.out linuxmce@dcerouter:/$ thanks -- Posted via http://www.ruby-forum.com/.