Brian said:
If you have libstdc++6, then you should be able to install
libstdc++6-4.2-dev (unless you got that libstdc++6 package from
somewhere outside the standard Ubuntu package respositories)
If you're not getting a mkmf.log, then perhaps it's failing building a
dependency. Look for the mkmf.log with the most recent timestamp
find /var/lib/gems/1.8/gems -name mkmf.log | xargs ls -lrt
anything from this >??
cat /usr/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0/ext/mkmf.log
have_library: checking for main() in -lstdc++... -------------------- no
"cc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I.
-fno-strict-aliasing -g -O2 -fPIC conftest.c -L"." -L"/usr/lib" -L.
-rdynamic -Wl,-export-dynamic -lruby1.8-static -lstdc++ -lpthread
-ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */
"cc -o conftest -I. -I/usr/lib/ruby/1.8/i486-linux -I.
-fno-strict-aliasing -g -O2 -fPIC conftest.c -L"." -L"/usr/lib" -L.
-rdynamic -Wl,-export-dynamic -lruby1.8-static -lstdc++ -lpthread
-ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */