Closed JesseStimpson closed 1 year ago
I also needed to add the loader_path of libortex.so to the rpath list. This could be addressed in a different way, but this is what got things working for me
install_name_tool -add_rpath @loader_path/. _build/test/lib/ortex/priv/native/libortex.so
Since ort
requires the execution providers to be enabled by cargo features, I'll look into a way to make this dynamic depending on the host (MacOS vs Linux in this case). Also thanks for the catch on rpath, I'll make those changes.
These should be fixed in v0.1.1, let me know if you run into any other issues!
Workaround