|Perl: the Markov chain saw|
Re^2: [OT] Installing g++ compiler on ubuntu-12.04LTS ( apt-get install lib64stdc++6 )by syphilis (Chancellor)
|on Sep 21, 2013 at 00:38 UTC||Need Help??|
So try apt-get install lib64stdc++6
Thanks Anonymous Monk. Running that command indicates that it was already installed and up to date. Closer inspection revealed that /usr/lib64/libstdc++.so.6.0.17 and a symlink to it (/usr/lib64/libstdc++.so.6) were already present.
Creating another symlink (/usr/lib64/libstdc++.so) to the .so.6.0.17 object fixes my problem.
I presume that's the right way to fix it ? Seems odd that the /usr/lib64/libstdc++.so symlink was not already present.
I can now run g++ in either 64-bit mode or 32-bit mode, and can successfully build and install Inline-CPP-0.45 in either 32-bit or 64-bit builds of perl. (David, the correct g++ compiler and options are automatically set by the Inline-CPP Makefile.PL. It all now works fine for me.)
Thanks, guys !!