-
Notifications
You must be signed in to change notification settings - Fork 74k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared library libtensorflowlite.so cannot be found after building from source #33980
Comments
Building a shared library with |
@freedomtan |
Right, monolithic is expected here, this looks like #33959. To confirm, would you mind commenting out |
@jdduke: thanks for the hint. After some testing, I got varying results depending on the docker image used: Using the Using |
System information
Describe the current behavior
Goal is to build TF Lite with the extended runtime to support non-tf-ops. For this I followed the steps from the official guide (https://www.tensorflow.org/lite/guide/ops_select#c). I added the missing flex delegate dependencies to
/tensorflow_src/tensorflow/lite/BUILD
:I ran the configure script with defaults only and the bazel build command with the mentioned options:
This builds without errors. When building my C++ app, it also compiles without errors. But when executing the binary, I get an error:
This is not a path problem because it lies in the same directory as my other .so files. The app works when using the static library generated by the shell scripts in the same directory.
Describe the expected behavior
The app should run just fine with the paths specified.
Other info / logs
.tf_configure.bazel_rc
The text was updated successfully, but these errors were encountered: