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

can't build in docker - failed to load: libssl.so.1.1: #1490

Open
hdrodel opened this issue Jul 7, 2023 · 2 comments
Open

can't build in docker - failed to load: libssl.so.1.1: #1490

hdrodel opened this issue Jul 7, 2023 · 2 comments

Comments

@hdrodel
Copy link

hdrodel commented Jul 7, 2023

I'm trying to run redis with the redis timeseries plugin inside a docker. I'm getting the following log:

1:C 07 Jul 2023 08:09:22.602 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 07 Jul 2023 08:09:22.602 * Redis version=7.1.241, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 07 Jul 2023 08:09:22.602 * Configuration loaded
1:M 07 Jul 2023 08:09:22.602 * monotonic clock: POSIX clock_gettime
1:M 07 Jul 2023 08:09:22.603 # Failed to write PID file: Permission denied
1:M 07 Jul 2023 08:09:22.603 * Running mode=standalone, port=6379.
1:M 07 Jul 2023 08:09:22.603 # Module /modules/redistimeseries.so failed to load: libssl.so.1.1: cannot open shared object file: No such file or directory
1:M 07 Jul 2023 08:09:22.603 # Can't load module from /modules/redistimeseries.so: server aborting

I tried to instal libssl.so1.1 manually but could not get it to work. What seems to be the problem that the docker versions hosted on the docker hub don't work anymore ?

@hdrodel hdrodel changed the title cant build in docker - failed to load: libssl.so.1.1: can't build in docker - failed to load: libssl.so.1.1: Jul 7, 2023
@hdrodel
Copy link
Author

hdrodel commented Jul 11, 2023

I can get it to work if i manually install version 1.1 of libssl.so like this:
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb

but i think the docker image, at redislabs/redistimeseries should be able to work without manually installing outdated libraries

@SemperPeritus
Copy link

I had a similar issue. It occurred after updating the redis image (now using bookworm instead of buster). The problem was resolved after updating the module's builder to bookworm. If the module is built in an environment with the same version of openssl that will be used, everything should be fine.
@hdrodel Try using either a different version (OS tag) for redis or for the builder if you built the module inside Docker.

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

2 participants