GLIBCXX_3.4.9 not found ubuntu

橙三吉。 提交于 2020-01-03 05:51:26

问题


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

来源:https://stackoverflow.com/questions/22888096/glibcxx-3-4-9-not-found-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!