aspose-words / Aspose.Words-for-Python-via-.NET

Aspose.Words for Python via .NET examples and showcases
MIT License
104 stars 22 forks source link

OpenSSL 3.0 not supported #21

Open rob101 opened 1 year ago

rob101 commented 1 year ago

Ubuntu 22.04 ships with OpenSSL 3.0. OpenSSL 1.1 is not available as a runtime library.

This produces the following error: No usable version of libssl found

AlexNosk commented 1 year ago

@rob101 This question is answered in the support forum: https://forum.aspose.com/t/does-aspose-python-via-net-work-on-ubuntu-22-04/252225

alex-dudin commented 1 year ago

OpenSSL 3.0 is not supported for now.

On Ubuntu 22.04 you need to manually install the OpenSSL 1.1:

wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1_amd64.deb \
 && dpkg -i ./libssl1.1_1.1.1l-1ubuntu1_amd64.deb

Example of Dockerfile:

FROM ubuntu:22.04

RUN apt update \
 && apt install -y python3.10 python3-pip libgdiplus wget \
 && wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1_amd64.deb \
 && dpkg -i ./libssl1.1_1.1.1l-1ubuntu1_amd64.deb \
 && rm -i libssl1.1_1.1.1l-1ubuntu1_amd64.deb

ENTRYPOINT ["/usr/bin/python3.10"]
praveensinghrajput23 commented 1 year ago

pdftohtml

NotFound 404

praveensinghrajput23 commented 1 year ago
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
&& sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb

updated command