0. 현상

  가. arduino 1.8.13에서 opencr board package를 설치하고 동작이 안됨

  나. arduino 실행후 컴파일 할 경우 no such file or directory로 나타남

  다. Ubuntu 16.04(kinetic)에서는 정상 실행됨

 

1. 확인

  가. 해당 디렉토리에 파일은 실제로 존재하였음

  나. $ file arm-none-eabi-gcc 를 확인한 결과 32 bit binary file인 것으로 확인

  다. $ arm-none-eabi-gcc를 할 경우 no such file or directory가 나타남

    1) 64비트 시스템에서 32비트 파일을 실행할 경우 나타남

 

2. 대처방안

  가. $ sudo apt install libc6-i386

    1) 32 bit binary용 라이브러리 설치

    2) 32 bit와 64 bit 문제인 경우 

 

3. 실행

  가. $ arduino

  나. 컴파일을 하면 정상 동작

AND