Skip to content

libRLRAudioPropagation.so mismatch causing build failure on aarch64 machine #2528

Open
@yichenzeng24

Description

@yichenzeng24

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 the libRLRAudioPropagation.so library.
  • The architecture mismatch between x86_64 and aarch64 seems to be the root cause.

Questions:

  • Is there an aarch64 version of libRLRAudioPropagation.so available, or is there a way to rebuild this library for the aarch64 architecture?
  • How can I properly resolve the mismatch to continue with the installation?

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions