Fatal error: alsa/asoundlib.h: No such file or directory

Hi,i got problem when i run this command

APP_AUDIO=1 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ TARGET_LINUX_AARCH64=1 USE_FULL_TFLITE=1 make -j.


sudo apt install libasound2

doesn’t work.


What’s the issue with the install command? Does it install the package but fails or does it fail to install the package.

If apt isn’t installed try this:

sudo apt-get install libasound2

Hi rjames,
I have install the package successfully.I have tried sudo apt-get install libasound2,but doesn’t work.

Can you try

sudo apt install libasound2-dev

Hi james,this doesn’t works

@rjames Hi rjames ,
Maybe this error has been solved after restarting my ubuntu.But there is a new error.This is the same as Error in C++ SDK - #7 by rjames. What can i do for this bug to solve it. Do this bug will till for a long time?

Thanks ~

See the other thread. I’ve posted a work-around.