Nix: missing libzstd.so.1 file

Open
#3,889 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
56/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
embedded-iot

Research direction

Start by reproducing the upload command in the issue on NixOS and identify which PlatformIO step loads libzstd.so.1. Check the Nix environment or project configuration that supplies runtime libraries; the issue gives no file or test to start from. Done means the firmware upload completes without the missing-library error on the reported board and environment.

Written by the indexing model from the issue text.

Description

Upon compiling firmware for nRF52 in an nix-environment you will get the following an error, because libzstd is not present.

libzstd.so.1: cannot open shared object file: No such file or directory

I am using PlatformIO Core, version 6.2.0 on nixOS 26.11.20261110.9ac0edc (Zokor).

As targeted board I am using the Seeed Studio Wio Tracker L1. The following command was used:

pio run -e WioTrackerL1_companion_radio_usb -t upload --upload-port /dev/ttyACM1
Dominant language
C
Stars
3.9k
Forks
1.5k
Avg merge
2d 7h
Merged PRs (30d)
56

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshcore-dev/MeshCore

All issues in meshcore-dev/MeshCore

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.