我正在将Arch Linux与XAMPP一起使用,并且尝试使用php执行nodejs脚本:
$ret = shell_exec($command .' 2>&1');
die($ret);
$ command包含JS-Skript的名称
我得到以下输出:
node: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by node)
node: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by node)
node: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by node)
node: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/libicui18n.so.64)
node: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/libicuuc.so.64)
有人可以帮助我吗? gcc-libs已安装
像GLIBCXX_3.4.9 not found when running ffmpeg from php in lampp server中那样将/opt/lampp/lib/libstdc++.so.6重命名为/opt/lampp/lib/libstdc++.so.6.orig无效