apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
166 stars 26 forks source link

GLIBC_2.38 + plugins version issue. #340

Closed trevis-dev closed 3 months ago

trevis-dev commented 3 months ago

Describe the bug

  1. I cannot use both the webhook nor the postgres sinks as they complain about
    /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (Looks a lot like #271)

  2. Plugins can't be listed/removed after install

To Reproduce

  1. Install abipara cli from scratch
  2. Install webhook (v0.5.0) and/or postgres (v0.6.0) sink plugins with the cli
  3. Problem 1: run a script using one of these plugins, see the error above.
  4. Problem 2:

$ apibara plugins list => Error: cli operation failed ├╴at cli/src/plugins.rs:257:10 ├╴Plugin --version output does not match spec ╰╴Failed to get plugin version: apibara-sink-webhook

$ apibara plugins remove sink postgres Error: cli operation failed ├╴at cli/src/plugins.rs:257:10 ╰╴Plugin --version output does not match spec

Expected behavior

No error :)

Software

Additional context

edit: nothing, it was unrelated.

fracek commented 3 months ago

We definitively need to support Ubuntu 22.04 which ships with glibc 2.35.

fracek commented 3 months ago

I made a new release that fixes this issue. Feel free to reopen if that's not the case.

BTW it's the first time I hear about the issue with the cursor, so if it happens again open an issue for it and I'll take a look!