Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Compilation error "ld: cannot find -lstdc++" [Fedora Core] #1901
I'm trying to compile nupic.core and I am exactly following guide.
My linux is:
any idea why is it happening?
modified the milestones:
0.2.1: release bugfixes,
0.3.1: installation bug fixes
Mar 5, 2015
@breznak / @david-ragazzi / @rcrowder Maybe you guys can help? I don't understand what's going on. It seems that
I spun up a 64bit Fedora VM at lunchtime (with 64bit Windows 7 host OS).
ltol: fatal error: bytecode stream generated with LTO version 2.2 instead
Never got to the stdc++ link error :(
On Tue, Apr 7, 2015 at 6:08 PM, Matthew Taylor email@example.com
I only had time to install the bare minimum applications, all from
On Wed, Apr 8, 2015 at 5:14 PM, breznak firstname.lastname@example.org wrote:
I git cloned the core, and face the exact same issue as OP. Currently have;
uname - Linux localhost.localdomain 3.17.4-301.fc21.x86_64 ...
As we know 4.7 and 4.9 are having issues. Ran out of lunchtime, but need to investigate the static linking; http://www.trilithium.com/johan/2005/06/static-libstdc/
Note: Core lib builds (just like OP), but the examples and unit test fail to link. Which hopefully points to static/dynamic issues.
@rhyolight I managed to get further with this today, trying to test compile the TM code in a Fedora 64bit VM. It looks like Fedora, with GCC 4.9.2, doesn't ship with static libstdc++ So I had to run the following to get the static libraries;
The last one is the key one. The others may already be installed by default. You can use