Skip to content

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

@aoirint

Description

@aoirint

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions