Open zeeshan3945 opened 1 year ago
Not familiar with Rust but the error is fairly clear - the library required is not in a location that the app can find it. That's usually a directory in the PATH environment variable on the same directory the binary is running from. I'd suggest looking at where onnxruntime is installed locally vs. in the docker container, as well as checking that that location is listed in the PATH variable if necessary.
Also is there a reason to use an extremely old version of onnxruntime? 1.14.1 is the latest version.
Not familiar with Rust but the error is fairly clear - the library required is not in a location that the app can find it. That's usually a directory in the PATH environment variable on the same directory the binary is running from. I'd suggest looking at where onnxruntime is installed locally vs. in the docker container, as well as checking that that location is listed in the PATH variable if necessary.
Also is there a reason to use an extremely old version of onnxruntime? 1.14.1 is the latest version.
Yes this the latest version. How can I find that where onnxruntime is install in my system because I just added it in rust dependency file.
When I run my application on the local host, it works fine but when I create the docker image and run the container, it gives me the
*error while loading shared libraries: libonnxruntime.so.1.8.1: cannot open shared object file: No such file or directory*
.This is my application. https://github.com/zeeshan3945/Rust-ML-Web-App.git