apibara/dna

version `GLIBC_2.38' not found

JustAnotherDevv opened this issue · 3 comments

Describe the bug

I am trying to run apibara dna cli with sink plugin installed and I am getting error that preventing me from using it:

/home/user/.local/share/apibara/plugins/apibara-sink-console: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.38' not found (required by /home/user/.local/share/apibara/plugins/apibara-sink-console)`

To Reproduce

  • Install apibara curl -sL https://install.apibara.com | bash
  • add plugin apibara plugins install sink-console
  • create script.js file with content:
    `export const config = {
    streamUrl: "https://goerli.starknet.a5a.ch",
    startingBlock: 800_000,
    network: "starknet",
    finality: "DATA_STATUS_ACCEPTED",
    filter: {
    header: {},
    },
    sinkType: "console",
    sinkOptions: {},
    };

// This transform does nothing.
export default function transform(block) {
return block;
}`

  • try to run it $ apibara run script.js -A dna_xxx

Expected behavior

Execution of the apibara command.

Software (please complete the following information):

  • OS: Ubuntu Linux
  • Version Ubuntu 23.04
  • Apibara version apibara-cli 0.4.0
  • Programming language and version (Rust, Cargo, Typescript): Typescript

Additional context

It also happened on other versions, I already tried reinstalling my OS, installng a bunch of packages but after 2 days spent on just this it seems impossible to solve on my own.

fracek commented

This is related to #222, releasing a fix that rolls back glibc to 3.5

fracek commented

This has been fixed. Thank you for reporting!

Hi!

I just updated the postgres plugin to v0.6.0 and got the same error (well required by apibara-sink-postges) for glibc_2.38.

I can open another issue if preferred.