duckdb: Missing libssl 1.0.0 dependency on Fedora 33+

What does happen? DuckDB v0.2.6 fails to start on Fedora 33+ due to missing libssl 1.0.0 dependency (the system comes with libssl 1.1).

What should happen? It should start.

To Reproduce

Start a Docker container:

docker run -it fedora:34 /bin/bash

Run the following commands:

yum install -y wget unzip
wget -q https://github.com/cwida/duckdb/releases/download/v0.2.6/duckdb_cli-linux-amd64.zip -O duckdb_cli-linux-amd64.zip
unzip duckdb_cli-linux-amd64.zip 
./duckdb 

Output:

./duckdb: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Environment (please complete the following information):

  • OS: Fedora 33+
  • DuckDB Version: 0.2.6

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

This has been fixed - tested on CentOS 8, Fedora 34, 35 and Ubuntu 20.04.

However, it fails on CentOS 7 due to a glibc version mismatch - did you drop support for that?

[root@85d9910ee286 /]# yum install -y wget unzip
...
[root@85d9910ee286 /]# wget -q https://github.com/cwida/duckdb/releases/download/v0.3.1/duckdb_cli-linux-amd64.zip -O duckdb_cli-linux-amd64.zip

[root@85d9910ee286 /]# unzip duckdb_cli-linux-amd64.zip 
Archive:  duckdb_cli-linux-amd64.zip
  inflating: duckdb                  
[root@85d9910ee286 /]# ./duckdb 
./duckdb: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by ./duckdb)

@darked89 I’m not involved with fixing this issue and only observing it from a distance, but my understanding is the following:

  • 0.3.1 will fix the problem by removing the SSL dependency (and allowing users to install it as a plug-in)
  • I see little chance for an officially supported Docker container

I may be wrong, in this case, Hannes will correct me.