in reply to Re: [OT] Installing g++ compiler on ubuntu-12.04LTS ( apt-get install lib64stdc++6 )
in thread [OT] Installing g++ compiler on ubuntu-12.04LTS

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 !!

Cheers,
Rob
  • Comment on Re^2: [OT] Installing g++ compiler on ubuntu-12.04LTS ( apt-get install lib64stdc++6 )

Replies are listed 'Best First'.
Re^3: [OT] Installing g++ compiler on ubuntu-12.04LTS ( apt-get install lib64stdc++6 )
by Anonymous Monk on Sep 21, 2013 at 00:46 UTC

    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.

    Yes, I think so (right way), and I also think it odd it didn't happen already -- but I've seen my share of almost-complete/correct binary packages :)