wkhtmltopdf is not loading images

Asked by Smriti

From yesterday onwards wkhtmltopdf has stopped loading images while converting html to pdf

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; apt-cache policy wkhtmltopdf

Thanks

Revision history for this message
Smriti (smriti154) said :
#2

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Linux ip-172-30-1-97 5.15.0-1034-aws #38~20.04.1-Ubuntu SMP Wed Mar 29 19:48:16 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
wkhtmltopdf:
  Installed: (none)
  Candidate: 0.12.5-1build1
  Version table:
     0.12.5-1build1 500
        500 http://ap-southeast-2.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

OK, run:

sudo apt install wkhtmltopdf

Then retry

Revision history for this message
Smriti (smriti154) said :
#4

Loading pages (1/6)
QSslSocket: cannot resolve CRYPTO_num_locks ] 10%
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num
QSslSocket: cannot resolve sk_pop_free
QSslSocket: cannot resolve sk_value
QSslSocket: cannot resolve SSL_library_init
QSslSocket: cannot resolve SSL_load_error_strings
QSslSocket: cannot resolve SSLv3_client_method
QSslSocket: cannot resolve SSLv23_client_method
QSslSocket: cannot resolve SSLv3_server_method
QSslSocket: cannot resolve SSLv23_server_method
QSslSocket: cannot resolve X509_STORE_CTX_get_chain
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
QSslSocket: cannot resolve SSLeay
QSslSocket: cannot call unresolved function CRYPTO_num_locks
QSslSocket: cannot call unresolved function CRYPTO_set_id_callback
QSslSocket: cannot call unresolved function CRYPTO_set_locking_callback
QSslSocket: cannot call unresolved function SSL_library_init
QSslSocket: cannot call unresolved function SSLv23_client_method
QSslSocket: cannot call unresolved function sk_num
QSslSocket: cannot call unresolved function SSLv23_client_method4%
QSslSocket: cannot call unresolved function SSL_library_init
Warning: Failed to load #url#

Can you help with this problem?

Provide an answer of your own, or ask Smriti for more information if necessary.

To post a message you must log in.