Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Sep 05, 2024 2:23 am

Hello,

Thank you for your continuous assistance.

I am encountering the following error message in HTML-to-PDF:

./Html2Pdf: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5WebEngineWidgets.so.5)
./Html2Pdf: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5Widgets.so.5)
./Html2Pdf: /lib64/libz.so.1: version `ZLIB_1.2.3.4' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5Gui.so.5)
./Html2Pdf: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5Gui.so.5)
./Html2Pdf: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5Core.so.5)
./Html2Pdf: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /data/dev/jenkins_home/workspace/ktr_erp_test_web/src/main/webapp/pdf_plugins/./lib/libQt5Core.so.5)
................................


It seems like the issue might be due to the Linux version being outdated. Are there any alternative solutions besides upgrading the Linux version?

hdj_11255
 
Posts: 5
Joined: Thu Aug 22, 2024 12:50 am

Thu Sep 05, 2024 8:46 am

Hello,

Thanks for your inquiry.The QT plugin used third-party HtmlConverter.QT, it has dependencies on the environment, and our product cannot change its dependencies. Based on your error message, we speculate that the reason may be that the version of glibc in the runtime environment is lower than that in the compilation environment. We suggest that you try updating the glibc version first.
Then enter into the plugins folder and use "echo"<p>test text</p>"|./Hml2Pdf" placeholder ""/usr/local/output. pdf "800 600 0 0 0 1" to check if there are still missing other dependencies. If so, you can install them first and then test again.
If the issue persists, please provide us with the Html file and your detailed testing environment(E.g. CentOS 7.4) for investigation.

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 283
Joined: Mon Jul 15, 2024 5:40 am

Return to Spire.PDF