GCC not working, please help [libmpc.so.2 missing]
For some reason, I can't get anything to compile from source - GCC isn't working. After further investigation, I do a hello world app and try to compile it - i get the following error:
root@localhost:/usr/src/testcompile# gcc -o test test.c
/usr/libexec/gcc/x86_64-slackware-linux/4.8.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
I have searched tirelessly for how to get this shared object but all roads have lead to dead ends so far. I haven't really made any configuration changes to the linode at all - just installed the teamspeak 3 server. Shouldn't the slackware distro provided by linode compile code out of the box? Seems like a very basic thing to me. I haven't tried creating a new linode because it will cost more money and even if it resolves the issue, I don't want to go through the pain of migrating my teamspeak server yet a second time to the new linode if that does fix the issue (not to mention who's to say it wont happen again?)
Thanks in advance for any help anyone might be able to provide!
3 Replies
@vonskippy:
If you're not using a custom pv-grub kernel, you're actually using Linode's kernel not slackwares.
Interesting observation, but how does that help me find a solution to my problem? Am I overlooking something obvious here?
This forum discussion