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

dyld[53422]: missing symbol called on decode. #142

Closed
kevinvdburgt opened this issue Jan 6, 2023 · 5 comments
Closed

dyld[53422]: missing symbol called on decode. #142

kevinvdburgt opened this issue Jan 6, 2023 · 5 comments
Labels
invalid This doesn't seem right

Comments

@kevinvdburgt
Copy link

Please describe the problem you are having in as much detail as possible:

When running the example below, the response of the opusEncode.decode results in:

dyld[53422]: missing symbol called

Include a reproducible code sample here, if possible:

    const opusEncoder = new OpusEncoder(24000, 1);

    const buffer = Buffer.from(
      '6801d5d27eca5a47fe2178960578db08005a1825a94e36157732dba57877684d3be3f200bf22a762064c83394dbec25de57a63a56617cb1733bc40069e7aa902ee0ac77dae09ac033484fdb01514ce',
      'hex',
    );

    const payload = opusEncoder.decode(buffer);

    console.log(payload);

Further details:

  • @discordjs/opus version: 0.9.0
  • Node.js version: v18.12.1
  • Operating system: MacOS Ventura 13.1 (M1 2020 Mac mini 16GB)
@kevinvdburgt kevinvdburgt added the bug Something isn't working label Jan 6, 2023
@maxckelly
Copy link

maxckelly commented Jan 31, 2023

+1 @kevinvdburgt did you find a solution for this?

@kevinvdburgt
Copy link
Author

@maxckelly I haven't found a solution to this yet.

For the part of my project where I do need this package I spin up and old linux laptop with an x64 architecture.

@maxckelly
Copy link

For anyone experiencing this I followed this steps and it now works. https://gist.github.com/adrienjoly/e29a6e73fb7e701eefd80ff9bde9abeb

@Jiralite Jiralite closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2023
@Jiralite Jiralite added invalid This doesn't seem right and removed bug Something isn't working labels Feb 3, 2023
@kevinvdburgt
Copy link
Author

kevinvdburgt commented Mar 14, 2023

I'm not sure how this is invalid, the readme says that it supports the arm version of macos. The given workaround from @maxckelly running in an emulation x86 layer (rosetta).

@JacobLinCool
Copy link
Contributor

Hi @kevinvdburgt, this PR (#150) should fix the problem on ARM macOS without x86 emulation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants