[Solved] Matrix Voice - Alexa Demo -> Install Error

Hi,
received my Matrix Voice and started first tests. Therefore I started the “MATRIX Voice Running Alexa Demo in Hands-Free Mode” (https://www.hackster.io/matrix-labs/matrix-voice-running-alexa-demo-in-hands-free-mode-404aa3)

I setup a new Pi3 with Raspbian stretch from scratch.
Now I stuck in Step “Step 4: Run the install script”:
I thin the install script was running well until the last step, see below.

Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0/plexus-utils-3.0.jar (221 KB at 535.9 KB/sec)
[INFO] Building jar: /root/alexa-avs-sample-app/samples/javaclient/target/sample-java-client-20160207.7.jar
[INFO]
[INFO] — maven-install-plugin:2.5.2:install (default-install) @ sample-java-client —
Downloading: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Downloaded: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.pom (11 KB at 111.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.pom (4 KB at 40.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.pom (4 KB at 30.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/0.4/maven-shared-utils-0.4.jar (152 KB at 544.1 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.6/commons-codec-1.6.jar (228 KB at 786.6 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar (234 KB at 804.7 KB/sec)
[INFO] Installing /root/alexa-avs-sample-app/samples/javaclient/target/sample-java-client-20160207.7.jar to /root/.m2/repository/com/amazon/alexa/avs/sample-java-client/20160207.7/sample-java-client-20160207.7.jar
[INFO] Installing /root/alexa-avs-sample-app/samples/javaclient/pom.xml to /root/.m2/repository/com/amazon/alexa/avs/sample-java-client/20160207.7/sample-java-client-20160207.7.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:19 min
[INFO] Finished at: 2018-02-07T22:03:22+00:00
[INFO] Final Memory: 20M/84M
[INFO] ------------------------------------------------------------------------
========== Installing Companion Service ==========
/usr/bin/nodejs: error while loading shared libraries: +¦)¦F¦C¦
PEC¦¦|w¦¦¦¦¦¦_s~¦8¦¦¦~¦¦¦M^¦v¦¦¦¦¦¦{¦¦¦~Wtf-"{H¦¦J¦¦¦¦?¦¦¦J,¦¦%W¦¦e¦S.¦7[¦m¦V?Y¦K¦¦4¦Hg&q¦¦y?D¦¦¦k¦p%o¦n¦?¦<¦(}¦¦¦bL¦i4¦%
@¦¦¦¦¦_¦¦¦)JB¦(¦V¦¦¦¦@>¦Ef[¦g: cannot open shared object file: No such file or directory
========== Preparing External dependencies for Wake Word Agent ==========
========== Compiling Wake Word Agent ==========
cmake: error while loading shared libraries: +¦)¦F¦C¦
PEC¦¦|w¦¦¦¦¦¦_s~¦8¦¦¦~¦¦¦M^¦v¦¦¦¦¦¦{¦¦¦~Wtf-"{H¦¦J¦¦¦¦?¦¦¦J,¦¦%W¦¦e¦S.¦7[¦m¦V?Y¦K¦¦4¦Hg&q¦¦y?D¦¦¦k¦p%o¦n¦?¦<¦(}¦¦¦bL¦i4¦%
@¦¦¦¦¦_¦¦¦)JB¦(¦V¦¦¦¦@>¦Ef[¦g: cannot open shared object file: No such file or directory
cmake: error while loading shared libraries: +¦)¦F¦C¦
PEC¦¦|w¦¦¦¦¦¦_s~¦8¦¦¦~¦¦¦M^¦v¦¦¦¦¦¦{¦¦¦~Wtf-"{H¦¦J¦¦¦¦?¦¦¦J,¦¦%W¦¦e¦S.¦7[¦m¦V?Y¦K¦¦4¦Hg&q¦¦y?D¦¦¦k¦p%o¦n¦?¦<¦(}¦¦¦bL¦i4¦%
@¦¦¦¦¦_¦¦¦)JB¦(¦V¦¦¦¦@>¦Ef[¦g: cannot open shared object file: No such file or directory
chown: cannot access ‘/home/root/.asoundrc’: No such file or directory

=============================
*****************************
========= Finished ==========
*****************************
=============================

To run the demo, do the following in 3 seperate terminals:
Run the companion service: cd /root/alexa-avs-sample-app/samples/companionService && npm start
Run the AVS Java Client: cd /root/alexa-avs-sample-app/samples/javaclient && mvn exec:exec
Run the wake word agent:
  Sensory: cd /root/alexa-avs-sample-app/samples/wakeWordAgent/src && ./wakeWordAgent -e sensory
  KITT_AI: cd /root/alexa-avs-sample-app/samples/wakeWordAgent/src && ./wakeWordAgent -e kitt_ai
  GPIO: PLEASE NOTE -- If using this option, run the wake word agent as sudo:
  cd /root/alexa-avs-sample-app/samples/wakeWordAgent/src && sudo ./wakeWordAgent -e gpio
root@HRG-MatrixVoice:~/alexa-avs-sample-app#

I think something has went wrong because now every try to install something on the pi ends in the error:
e.g.
root@HRG-MatrixVoice:~/alexa-avs-sample-app/samples/companionService# npm install
/usr/bin/nodejs: error while loading shared libraries: +▒)▒F▒C▒
PEC▒▒|w▒▒▒▒▒▒_s~▒8▒▒▒~▒▒▒M^▒v▒▒▒▒▒▒{▒▒▒~Wtf-"{H▒▒J▒▒▒▒֔▒▒▒J,▒▒%W▒▒e▒S.▒7[▒m▒VˏY▒K▒▒4▒Hg&q▒▒y՗D▒▒▒k▒p%o▒n▒?▒<▒(}▒▒▒bL▒i4▒%
@▒▒▒▒▒_▒▒▒)JB▒(▒V▒▒▒▒@>▒Ef[▒g: cannot open shared object file: No such file or directory
root@HRG-MatrixVoice:~/alexa-avs-sample-app/samples/companionService#

or
gconftool-2: error while loading shared libraries: +▒)▒F▒C▒
PEC▒▒|w▒▒▒▒▒▒_s~▒8▒▒▒~▒▒▒M^▒v▒▒▒▒▒▒{▒▒▒~Wtf-"{H▒▒J▒▒▒▒֔▒▒▒J,▒▒%W▒▒e▒S.▒7[▒m▒VˏY▒K▒▒4▒Hg&q▒▒y՗D▒▒▒k▒p%o▒n▒?▒<▒(}▒▒▒bL▒i4▒%
@▒▒▒▒▒_▒▒▒)JB▒(▒V▒▒▒▒@>▒Ef[▒g: cannot open shared object file: No such file or directory

What can I do?

Solved, I reinstalled everything new from scratch and now Alexa Demo is working.
I think was an install issue before.

1 Like

Hi @giovanne,

Great!! :tada: !!

Regards,

Kevin Patino