fast_rss icon indicating copy to clipboard operation
fast_rss copied to clipboard

Upgrade not supported by this NIF library

Open hbcondo opened this issue 2 years ago • 2 comments

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."}}

hbcondo avatar Oct 13 '23 09:10 hbcondo

Do a deps clean and try again?

praveenperera avatar Oct 13 '23 18:10 praveenperera

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

hbcondo avatar Oct 13 '23 19:10 hbcondo