Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I would like to use disable-smart-shrinking option #211

Closed
ugoQ opened this issue Nov 23, 2021 · 4 comments
Closed

I would like to use disable-smart-shrinking option #211

ugoQ opened this issue Nov 23, 2021 · 4 comments

Comments

@ugoQ
Copy link

ugoQ commented Nov 23, 2021

I am enable to use disable-smart-shrinking option because I'm on Ubuntu and I am forced to use wkhtmltopdf whitout the QT patches, downgrading to a patched wkhtmltopdf version (0.12.4) gives an error starting like this:

QSslSocket: cannot resolve CRYPTO_num_locks
QSslSocket: cannot resolve CRYPTO_set_id_callback
QSslSocket: cannot resolve CRYPTO_set_locking_callback
QSslSocket: cannot resolve sk_free
QSslSocket: cannot resolve sk_num

There is this warning in main page:

Warning! Version in debian/ubuntu repos have reduced functionality (because it compiled without the wkhtmltopdf QT patches), such as adding outlines, headers, footers, TOC etc. To use this options you should install static binary from wkhtmltopdf site or you can use this script.

("this script" link is broken)
Anybody has a solution to help me?
Thanks in advance.

@sscotti
Copy link

sscotti commented Nov 23, 2021

You might want to look at this:

https://stackoverflow.com/questions/42094214

Might be related to your libssl package version ?

@ugoQ
Copy link
Author

ugoQ commented Nov 24, 2021

Thanks for your reply, it seems to be my problem (haven't tried the solution).
I had some time to think about this, and downgrading is not a solution for us. I'll just adapt my contents to be better displayed in the final pdf.

You can close this issue if you want.

@sscotti
Copy link

sscotti commented Nov 24, 2021

I'm not the maintainer. Not sure that you would have to downgrade though. I have the wkhtmltox-0.12.4 package running in a Docker Container that runs Debian Bulleye. I think it uses apt-get --assume-yes install libssl1.1.

@JazzCore
Copy link
Owner

@ugoQ You can try to either download a binary from official site (they got deb packages for Ubuntu) or try using this script which I use on CI servers for tests (its the one with broken link, I'll fix it though). Closing this for now, feel free to reopen if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants