GlareDB / glaredb

GlareDB: An analytics DBMS for distributed data
https://glaredb.com
GNU Affero General Public License v3.0
638 stars 37 forks source link

GLIBC_2.29' not found (required by ./glaredb) #3001

Open YuriyGavrilov opened 3 months ago

YuriyGavrilov commented 3 months ago

Description

curl https://glaredb.com/install.sh | sh ok.

but

Successfully downloaded the GlareDB binary.
You can run it as:
    > ./glaredb
(venv) yu.gavrilov@s7-13-038829:~/Git$ ./glaredb 
./glaredb: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./glaredb)
./glaredb: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by ./glaredb)

:( on custom linux (Astra)

but working well in python

>>> con = glaredb.connect()
>>> df = con.sql("select * from df where fruits = 'banana'").to_polars();
>>> print(df)
shape: (3, 4)
┌─────┬────────┬─────┬────────┐
│ A   ┆ fruits ┆ B   ┆ cars   │
│ --- ┆ ---    ┆ --- ┆ ---    │
│ i64 ┆ str    ┆ i64 ┆ str    │
╞═════╪════════╪═════╪════════╡
│ 1   ┆ banana ┆ 5   ┆ beetle │
│ 2   ┆ banana ┆ 4   ┆ audi   │
│ 5   ┆ banana ┆ 1   ┆ beetle │
└─────┴────────┴─────┴────────┘
tychoish commented 3 months ago

We don't have Astra testing (or build), so I'm not totally sure how/if we can confirm this, but it seems plausible.

We compile the downloaded release with Ubuntu 2004 (released in April of 2020), which means linux distros with older libc versions might work, but aren't guaranteed.

If you have an older version of linux with a rust toolchain installed running just dist (if you have just, or cargo build --bin glaredb should produce a binary (look in target/) that will work on your system.