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

Using on Raspberry Pi 4 arm cause "GLIBCXX_3.4.26 not found" #1565

Open
hannesa2 opened this issue Dec 6, 2023 · 2 comments
Open

Using on Raspberry Pi 4 arm cause "GLIBCXX_3.4.26 not found" #1565

hannesa2 opened this issue Dec 6, 2023 · 2 comments

Comments

@hannesa2
Copy link

hannesa2 commented Dec 6, 2023

Hi,
I use it on a self hosted Linux arm runner (Raspberry Pi 4)


      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 1
          submodules: recursive

and run into
/home/github/actions-runner/externals/node20/bin/node: /lib/arm-linux-gnueabihf/libstdc++.so.6: versionGLIBCXX_3.4.26' not found (required by /home/github/actions-runner/externals/node20/bin/node)`

as workaround I use actions/checkout@v3 This works properly.

Do you have a hint how to solve v4 on my Raspberry ?

@mlitvinav
Copy link

mlitvinav commented Dec 7, 2023

Having the same issue on a self-hosted debian runner and am using your v3 downgrade for now.
The issue seems to be the node version. I believe if you want to fix it, you would need to install node v20 on your pi.
If you are fine building your packages with v20 you could probably just place the setup-node action above it or install v20 in the Dockerfile of your Runner.

# install node v20 via nodesource (untested; copied from internet)
curl -sL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
# node v20 via setup-node action
- uses: actions/setup-node@v4
  with:
    node-version: 20
- uses: actions/checkout@v4

Else you would need multiple versions of node of the pi, which is slightly annoying. Maybe installing node v20 in the Dockerfile via https://deb.nodesource.com/setup_20.x is an option and then after checkout using actions/setup-node to switch to the node version your code expects would work.

@abhijithvijayan
Copy link

any luck here? running into this issue as actions/checkout@v4 and docker/login-action@v3 all use node 20 now

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

3 participants