Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by syphilis (Archbishop)
on Sep 21, 2013 at 00:38 UTC ( [id://1055089]=note: print w/replies, xml ) Need Help??


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 :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1055089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-23 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found