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

Upgrade not supported by this NIF library #22

Open
hbcondo opened this issue Oct 13, 2023 · 2 comments
Open

Upgrade not supported by this NIF library #22

hbcondo opened this issue Oct 13, 2023 · 2 comments

Comments

@hbcondo
Copy link

hbcondo commented Oct 13, 2023

Hi, I started receiving this warning message:

[warning] The on_load function for module Elixir.FastRSS.Native returned:
{:error, {:upgrade, ~c"Upgrade not supported by this NIF library."}}
@praveenperera
Copy link
Member

Do a deps clean and try again?

@hbcondo
Copy link
Author

hbcondo commented Oct 13, 2023

Yeah, I first did a mix deps.clean --all but that wasn't enough. Deleting the _build directory and running mix deps.get didn't resolve this issue either. I also performed a mix deps.update --all and saw the debug console output:

Downloading NIF from https://github.com/avencera/fast_rss/releases/download/v0.5.0/libfastrss-v0.5.0-nif-2.15-aarch64-apple-darwin.so.tar.gz

NIF cached at /Users/myname/Library/Caches/rustler_precompiled/precompiled_nifs/libfastrss-v0.5.0-nif-2.15-aarch64-apple-darwin.so.tar.gz 
and extracted to /Users/myname/myrepo/.elixir_ls/debugger/build/dev/lib/fast_rss/priv/native/libfastrss-v0.5.0-nif-2.15-aarch64-apple-darwin.so

But error is still present

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

2 participants