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

Linux ARM64 binary libsndfile_arm64.so is not compiled with libogg and libvorbis #29

Open
aoirint opened this issue Oct 23, 2023 · 0 comments

Comments

@aoirint
Copy link

aoirint commented Oct 23, 2023

I'm interested in bastibe/python-soundfile#382 and I found this probrem during its investigation.

libsndfile_arm64.so was added by #23 as a binary form but it does not seem to be compiled with libogg and libvorbis.

As mentioned in bastibe/python-soundfile#382 (comment), its file size is quite small (660 KB while x86_64 binary is 3.4 MB).

libsndfile_arm64.so (660 KB, sha256:c317ef4555ffc6b6b6f38514a8d4e631e4916b4ca5eca638d1659f92238cba6d) should be replaced with the CI provided one (CI added by #24 ). CI one is guaranteed to be compiled by linux_build.sh which includes libogg and libvorbis.

Here is my own build libsndfile_arm64.so created by the CI workflow (3.3 MB, sha256:c7eff8a803151c08d2d2114eb5989cdd41b692ee0f83220e8721aa2901574e5c) but I think @bastibe should create it by himself with CI for security reasons.

For Ubuntu user, these commands may help to investigate the difference between the current binary and the CI binary (Sorry I'm not familiar with object code and other linux distributions).

sudo apt install binutils binutils-aarch64-linux-gnu

aarch64-linux-gnu-objdump -d libsndfile_arm64.so | grep ogg

Code amount comparison about ogg keyword

# Current binary Linux ARM64
$ aarch64-linux-gnu-objdump -d libsndfile_arm64.so | grep ogg | wc -l
6

# CI binary Linux ARM64
$ aarch64-linux-gnu-objdump -d libsndfile_arm64.so | grep ogg | wc -l
1649

# Current binary Linux x86_64
$ objdump -d libsndfile_x86_64.so | grep ogg | wc -l
1837

Thanks for the great repository!

@aoirint aoirint changed the title Linux ARM64 binary libsndfile_arm64.so should be re-compiled with libogg, libvorbis Linux ARM64 binary libsndfile_arm64.so is not compiled with libogg and libvorbis Oct 23, 2023
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