Software⏱️ 3 min read📅 2026-06-11

How to Fix: Error with libc.so.6: version `GLIBC_2.32' not found when using it with wkhtmltopdf

Error with libc.so.6: version GLIBC_2.32 not found when using wkhtmltopdf on Ubuntu Server 20.4.

Quick Answer: Update the system to a newer version of glibc, such as glibc-2.31 or later, to resolve the issue.

Error with libc.so.6: version `GLIBC_2.32' not found when using it with wkhtmltopdf

This error affects users of Python, Django, and wkhtmltopdf on Ubuntu Server 20.4, causing issues when converting HTML to PDF.

⚠️ Common Causes

  • The primary reason for this error is that the required version `GLIBC_2.34' of the libc library is not available in the system.
  • An alternative cause could be that the `CXXABI_1.3.13` and `CXXABI_1.3.14` versions are missing, which are also required by wkhtmltopdf.

✅ Best Solutions to Fix It

Update the libc library to a compatible version

  1. Step 1: Open the Ubuntu Server 20.4 terminal and run the following command: `sudo apt-get update && sudo apt-get install libgcc1 libglib2.0-0 libgthread-2.0-0`
  2. Step 2: This will ensure that the required versions of the libc library are installed.
  3. Step 3: After installation, restart the system or reload the wkhtmltopdf service by running `sudo systemctl reload wkhtmltopdf`

Use an alternative wkhtmltopdf version with a compatible libc library

  1. Step 1: Install an alternative version of wkhtmltopdf that is compatible with the available libc library versions.
  2. Step 2: Run the following command: `sudo apt-get install wkhtmltopdf-dev`

🎯 Final Words

To resolve this issue, you can either update the libc library to a compatible version or use an alternative wkhtmltopdf version. By following these steps, you should be able to successfully convert HTML to PDF using Python, Django, and wkhtmltopdf on Ubuntu Server 20.4.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions