Fedora 27 /usr/bin/ld: cannot find -lstdc++
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).
Make gets to linking and then fails with this message:
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.
What can I do to fix this? Thanks!
fedora make libraries c++ ld
add a comment |Â
up vote
2
down vote
favorite
I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).
Make gets to linking and then fails with this message:
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.
What can I do to fix this? Thanks!
fedora make libraries c++ ld
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).
Make gets to linking and then fails with this message:
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.
What can I do to fix this? Thanks!
fedora make libraries c++ ld
I have Fedora 27. I am building something from source. (It is https://github.com/xmrig/xmrig-nvidia if that matters).
Make gets to linking and then fails with this message:
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
The packages libstdc++ and libstdc++-devel are installed. Their 32-bit versions, just in case, are now also installed. I still get the message.
What can I do to fix this? Thanks!
fedora make libraries c++ ld
asked Jan 13 at 18:31
Mikhail Ramendik
1839
1839
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
6
down vote
accepted
Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package
add a comment |Â
up vote
6
down vote
accepted
Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package
add a comment |Â
up vote
6
down vote
accepted
up vote
6
down vote
accepted
Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package
Okay, I found what file it's looking for using strace, and the answer was libstdc++.a , so I fixed it by installing the libstdc++-static package
answered Jan 13 at 18:40
Mikhail Ramendik
1839
1839
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416875%2ffedora-27-usr-bin-ld-cannot-find-lstdc%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password