Skip to content

missing checksum.exs file #8

@cbh123

Description

@cbh123

With the latest release, I get a step further (thank you!). But I'm now seeing a missing checksum file when I deploy. Any idea how to fix this?

I added this to my mix.exs:

{:hnswlib, github: "elixir-nx/hnswlib", tag: "v0.1.2"}

Then on compilation:

#0 44.63 Error happened while installing hnswlib from precompiled binary: "missing checksum.exs file".

Full error:

#0 44.28 Downloading precompiled NIF to /root/.cache/hnswlib-nif-2.17-x86_64-linux-gnu-0.1.2.tar.gz
#0 44.63 Error happened while installing hnswlib from precompiled binary: "missing checksum.exs file".
#0 44.63 
#0 44.63 Attempting to compile hnswlib from source...
#0 44.64 /bin/sh: 4: cmake: not found
#0 44.64 incomplete build of hnswlib found in '/app/_build/prod/lib/hnswlib/cmake_hnswlib', please delete that directory and retry
#0 44.64 make: *** [Makefile:37: /app/_build/prod/lib/hnswlib/priv/hnswlib_nif.so] Error 1
#0 44.64 could not compile dependency :hnswlib, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile hnswlib --force", update it with "mix deps.update hnswlib" or clean it with "mix deps.clean hnswlib"

Originally posted by @cbh123 in #6 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions