第一次发生在我身上。我不知道为什么它会这么简单地抱怨。我在另一个实例中看到了相同的ld
错误,但从未在julia上看到错误。
make
LINK usr/bin/julia
/usr/opt/centos/devtoolset-1.1/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/4.7.2/ld: /usr/opt/centos/devtoolset-1.1/root/usr/bin/../lib /gcc/x86_64-redhat-linux/4.7.2/libstdc++_nonshared.a(system_error44.o): undefined reference to symbol '_ZTVSt14error_category@@GLIBCXX_3.4.11'
/usr/opt/centos/devtoolset-1.1/root/usr/bin/../libexec/gcc/x86_64-redhat-linux/4.7.2/ld: note: '_ZTVSt14error_category@@GLIBCXX_3.4.11' is defined in DSO /usr/lib64/libstdc++.so.6 so try adding it to the linker command line
/usr/lib64/libstdc++.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [/home/adrian/julia/usr/bin/julia] Error 1
make: *** [julia-ui-release] Error 2
如何更改输出中建议的链接方向?