我正在尝试使用CGI在Web服务器(GoDaddy)上编译和运行我的C ++代码。我在运行Linux Debian发行版的PC上编译了我的代码。但是,每次我尝试使用Internet浏览器运行代码时,都会出现“500 Internal Server Error”。
在询问网络服务器客户服务后,我发现错误日志如下:
[Tue Jan 20 09:47:59.939859 2015] [cgi:error] [pid 29555:tid 140270383359744] [client 152.3.43.176:64059] AH01215: out.cgi: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by out.cgi), referer: http://.com/tweet.html
[Tue Jan 20 09:47:59.939909 2015] [cgi:error] [pid 29555:tid 140270383359744] [client 152.3.43.176:64059] AH01215: out.cgi: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by out.cgi), referer: http://.com/tweet.html
如何编译我的代码以避免出现这些错误?