GLIBCXX_3.4.9 not found ubuntu

匿名 (未验证) 提交于 2019-12-03 01:36:02

问题:

i am trying to convert .doc file to .html file using shell_exec command php..

for this i have written the below code:

  $result = shell_exec("soffice --headless --convert-to html /opt/lampp/htdocs/converter/public/uploads/resume/".$filename." 2>&1");   echo $result;

but i am getting this when i run the project from the browser:

 /usr/lib/libreoffice/program/oosplash: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3)   /usr/lib/libreoffice/program/oosplash: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /usr/lib/libreoffice/program/../ure-link/lib/libuno_sal.so.3)

please help i am new to shell_exec and ubuntu

转载请标明出处:GLIBCXX_3.4.9 not found ubuntu
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!