Description
Description:
I am trying to install sound-spaces
on an aarch64 machine following the installation instructions from the official GitHub repository: Installation Guide.
However, I encountered an issue when attempting to install habitat-sim
. It seems that there is a mismatch with the libRLRAudioPropagation.so
library. The error occurs during the linking stage, as the library is compiled for x86_64
while I am on an aarch64
machine. Below is the specific error output:
/usr/bin/ld: /data/habitat-sim/src/deps/rlr-audio-propagation/RLRAudioPropagationPkg/libs/linux/x64/libRLRAudioPropagation.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
gmake[2]: *** [utils/viewer/CMakeFiles/viewer.dir/build.make:350: utils/viewer/viewer] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:4887: utils/viewer/CMakeFiles/viewer.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX shared module ../../lib.linux-aarch64-cpython-39/habitat_sim/_ext/habitat_sim_bindings.cpython-39-aarch64-linux-gnu.so
/usr/bin/ld: /data/habitat-sim/src/deps/rlr-audio-propagation/RLRAudioPropagationPkg/libs/linux/x64/libRLRAudioPropagation.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
gmake[2]: *** [esp/bindings/CMakeFiles/habitat_sim_bindings.dir/build.make:573: lib.linux-aarch64-cpython-39/habitat_sim/_ext/habitat_sim_bindings.cpython-39-aarch64-linux-gnu.so] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:4827: esp/bindings/CMakeFiles/habitat_sim_bindings.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
It seems that libRLRAudioPropagation.so
is built for x86_64
, but I am using an aarch64
architecture, causing the build to fail.
Steps taken:
- I followed the instructions from the installation guide to set up the environment.
- During the build of
habitat-sim
, the error occurred when linking thelibRLRAudioPropagation.so
library. - The architecture mismatch between
x86_64
andaarch64
seems to be the root cause.
Questions:
- Is there an
aarch64
version oflibRLRAudioPropagation.so
available, or is there a way to rebuild this library for theaarch64
architecture? - How can I properly resolve the mismatch to continue with the installation?
Thank you for your help!