lib not found

Problems with the Linux version of XAMPP, questions, comments, and anything related.

lib not found

Postby maria.199910 » 24. March 2020 09:19

Hi
I use wkhtmltopdf to convert to pdf.

from the terminal it works perfectly,
but with apache web server (http: //localhost/job/pp.php) it doesn't work.

content of pp.php:
<?php
exec('wkhtmltopdf 2>&1', $output);
print_r($output);
?>


output error:
Array ( [0] => wkhtmltopdf: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by wkhtmltopdf) [1] => wkhtmltopdf: /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by wkhtmltopdf) [2] => wkhtmltopdf: /opt/lampp/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by wkhtmltopdf) )


the strange thing is that from the terminal it works without errors
maria.199910
 
Posts: 1
Joined: 24. March 2020 08:56
XAMPP version: 7.3.12.0
Operating System: debian 10

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 52 guests