Open Vinayak006 opened 2 months ago
did you mean to use ./libllama.so instead of /libllama.so ?
did you mean to use ./libllama.so instead of /libllama.so ?
I have my libllaam.so
file in root folder. I have tried both:
// Using relative path from the lib directory
Llama.libraryPath = "../libllama.so";
Failed to load dynamic library '../libllama.so': dlopen failed: library "../libllama.so" not found
// using absolute path
Llama.libraryPath = "/home/user/projects/llama_cpp/libllama.so";
Failed to load dynamic library '/home/kingkong/YAVAR/projects/llama_cpp_app/libllama.so': dlopen failed: library "/home/kingkong/YAVAR/projects/llama_cpp_app/libllama.so" not found
I don't know what we are missing. Guide us on it @netdur
Description:
I encountered an issue while trying to run my Flutter application using the
llama_cpp_dart
package. The error occurs when the app attempts to load thelibllama.so
dynamic library. Below are the details:Error Message:
What I have done is:
Llama.libraryPath = "/llama_cpp_app/libllama.so";
I got the above error: Failed to load dynamic library
libllama.so
I dont know where exactly to place the file or Am I missing anything?