Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yichenzeng24 opened this issue Jan 6, 2025 · 0 comments

Comments

@yichenzeng24
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant