Enet4 / faiss-rs

Rust language bindings for Faiss
Apache License 2.0
202 stars 36 forks source link

[faiss-sys][static] check the lib64 directory as well for newer compilers #83

Open barakmich opened 6 months ago

barakmich commented 6 months ago

I had the same issue as #82 -- the linker error that wasn't obvious.

I did a little digging (cargo build --verbose) and looking in the search paths... and it looks like my compiler outputs the static library to lib64/ instead of just lib/

While I'm not sure exactly why, adding lib64/ to the search path (as per this PR) made everything just work.