assistant-sdk-cpp icon indicating copy to clipboard operation
assistant-sdk-cpp copied to clipboard

make run_assistant packages not found

Open eduardojj opened this issue 6 years ago • 2 comments

So I was trying to run the make run_assistant and it's saying that it cant found gRPC and alsa packages and to export them to the env variable PKG_CONFIG_PATH, basically, it kept repeating this error:

Package grpc++ was not found in the pkg-config search path.
Perhaps you should add the directory containing `grpc++.pc'
to the PKG_CONFIG_PATH environment variable
Package 'grpc++', required by 'virtual:world', not found
Package 'grpc', required by 'virtual:world', not found
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
Package 'alsa', required by 'virtual:world', not found

And it ended with a error 1:

/usr/bin/ld: src/assistant/run_assistant_audio.o: undefined reference to symbol 
'_ZN4grpc14SslCredentialsERKNS_21SslCredentialsOptionsE'
/usr/bin/ld: /usr/local/lib/libgrpc++.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:111: recipe for target 'run_assistant_audio' failed
make: *** [run_assistant_audio] Error 1

So what can be the cause of this??

eduardojj avatar Oct 17 '19 13:10 eduardojj

Are you following the setup guide to get gRPC and Alsa installed?

Fleker avatar Oct 17 '19 14:10 Fleker

Are you following the setup guide to get gRPC and Alsa installed?

Yes, but I don't know if the other issue i posted has something to do with this. I managed to bypass the problem in the latest issue I posted but i probably think is something to do with that. Thank you very much.

eduardojj avatar Oct 17 '19 14:10 eduardojj