nilsve / docker-aseprite-linux

Docker container for easily building Aseprite for linux
103 stars 28 forks source link

libcrypto.so.3 #11

Open albertlunde123 opened 11 months ago

albertlunde123 commented 11 months ago

Hi! I am getting the following error, when I try to run ./aseprite, after having compiled.

./aseprite: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory

It seems to be related to the issue mentioned in the FAQ, but I cant seem to wrap my head around it. Hope you can help!

mrehayden1 commented 3 months ago

I'm getting the same and it's possibly down to this during the build.

-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.13") 

It's quite likely that it's because the Dockerfile is pulling from the python:latest image on Dockerhub.

mrehayden1 commented 3 months ago

So I've got the latest version successfully building and running on Ubuntu 20.04 by swapping out the Python container with the matching version of Debian:

diff --git a/Dockerfile b/Dockerfile
index 261de20..85ea70b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
-FROM python
+FROM python:3-bullseye

-#Required for tzdata
-ENV TZ=Europe/Amsterdam
+# Required for tzdata
+ENV TZ=Europe/London
 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

 # Install dependencies
diff --git a/compile.sh b/compile.sh
index d53eafb..d54cf91 100755
--- a/compile.sh
+++ b/compile.sh
@@ -32,7 +32,7 @@ cd /output

 if [ ! -d "/output/aseprite" ]
 then
-  git clone -b v1.2.40 --recursive https://github.com/aseprite/aseprite.git
+  git clone -b v1.3.7 --recursive https://github.com/aseprite/aseprite.git
 fi

 cd aseprite

The timezone change is probably irrelevant but included anyway.