fedora 22: ld: cannot find -lstdc++
I'm having trouble installing this library. I tried the x86_64 and i686 version and I'm still getting ld:cannot find -lstdc++
I installed: Code:
dnf install libstdc++-devel Code:
dnf install libstdc++-devel.i686 Thanks, |
Quote:
# dnf install gcc-c++.x86_84 ( Provides /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libstdc++.so ) - |
Hey I ran the provides command:
Code:
$ sudo dnf provides */libstdc++.so Code:
$ sudo dnf install gcc-c++.x86_64 ld -lstdc++ ld: cannot find -lstdc++ Thanks, |
*
? Which software is it that "cannot find -lstdc++" ? |
Well this came up from building a cross compile toolchain. I'm using crosstool-ng and was running:
Code:
./ct-ng build Code:
$ ld -lstdc++ |
Sorry I was getting confused I think the issue is the cross compiling is what is having the issues not the host machine.
Here is the command that is error-ing out: Code:
./x86_64-build_unknown-linux-gnu-gcc \ |
Re #5, #6.
Quote:
So why not use 'dnf provides */libstdc++.a' ? The package libstdc++-static provides /usr/lib/gcc/x86_64-redhat-linux/5.1.1/libstdc++.a - |
Thank you so much. the dnf provides command is a life savior!
|
All times are GMT -5. The time now is 10:19 PM. |