Text to PDF: Package libssl1.0-dev is not available,

https://help.syncfusion.com/file-formats/pdf/convert-html-to-pdf/webkit documentation says that we need to install libssl1.0-dev but I get the error message "Package libssl1.0-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source" when trying to run my .Net 6.0 application on docker linux container. Can you please advise? 


1 Reply

GK Gowthamraj Kumar Syncfusion Team November 19, 2021 09:45 AM UTC

Hi Ajit, 

Thank you for your contacting Syncfusion support. 

The libssl1.0-dev package is not supported in docker image from .net 5.0 platforms. We can generate the PDF document using WebKit rendering engine above .net 5.0 versions by using libssl files without installing libssl1.0-dev package. Please refer below steps,   
  1. apt-get update
  2. apt-get install xvfb
  3. Need to add OPENSSL shared objects files in QtBinariesLinux folder. (attached the files in below link)
  4. apt-get install libx11-dev libx11-xcb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-render0-dev libxcb-shm0-dev libxcb-util0-dev libxcb-xfixes0-dev libxcb-xkb-dev libxcb1-dev libxfixes-dev libxrandr-dev libxrender-dev
   
  
We have attached a required OPENSSL (libssl) shared objects, can you please add these files in the QtBinariesLinux folder. Then try the conversion with .net 6.0 and let us know the result. Please find the libssl files from the below link,    
  

  • Download and extract the file from the above link.
  • Copy the libcrypto.so and libssl.so files to QtBinariesLinux folder.
  • Then try the conversion and check the resultant PDF document.
 
Please let us know if you need any further assistance with this. 

Regards, 
Gowthamraj K 


Loader.
Up arrow icon