Skip to content

board list command errors: "mdns-discovery: no such file or directory" #1652

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

Closed
3 tasks done
jobalas opened this issue Feb 3, 2022 · 5 comments
Closed
3 tasks done
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@jobalas
Copy link

jobalas commented Feb 3, 2022

Describe the problem

The command arduino-cli board list

Returns the following error:

Error detecting boards: Error starting board discoveries: [discovery builtin:mdns-discovery process not started: fork/exec /root/.arduino15/packages/builtin/tools/mdns-discovery/1.0.5/mdns-discovery: no such file or directory]

Expected behavior

Get a list of connected boards

Arduino CLI version

0.20.2

Operating system

Armbian buster (21.02.3) armv7l

running on Orange Pi Zero

Additional context

I'm using an Arduino Nano board.


Installed arduino-cli by using this command:

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@jobalas
Copy link
Author

jobalas commented Feb 3, 2022

mdns-discovery file exists
orangepizero:~:# ls /root/.arduino15/packages/builtin/tools/mdns-discovery/1.0.5
output:
LICENSE.txt mdns-discovery

@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 3, 2022
@kubriel
Copy link

kubriel commented Feb 23, 2022

i believe this is a problem i solved with linking:
ln -s /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3
hopefuly it helps somebody at some point.

@umbynos
Copy link
Contributor

umbynos commented Feb 3, 2023

It seems a problem similar to #1208.
Linking the library should solve the problem.

@umbynos umbynos assigned umbynos and unassigned silvanocerza Feb 3, 2023
@cmaglie
Copy link
Member

cmaglie commented Mar 17, 2023

@umbynos you may check if the mdns-discovery could be built without CGO enabled.

@umbynos
Copy link
Contributor

umbynos commented Mar 22, 2023

@umbynos umbynos closed this as completed Mar 22, 2023
@umbynos umbynos added the conclusion: resolved Issue was resolved label Mar 22, 2023
@per1234 per1234 changed the title Error detecting boards board list command errors: "mdns-discovery: no such file or directory" Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

6 participants