Unable to load libivyrs.so on macOS. This is because mac does not use .so files they use .dylib. When you compile ivy on Mac, you get the output target/release/libivyrs.dylib. When we load the lib via FFI, we need to check for both files.
Expected Behaviour
Opening vim does not cause errors and you can use ivy.
Actual Behaviour
When you open vim you get the message
libivyrs.so not found! Please ensure you have complied ......
Description
Unable to load
libivyrs.so
on macOS. This is because mac does not use.so
files they use.dylib
. When you compile ivy on Mac, you get the outputtarget/release/libivyrs.dylib
. When we load the lib via FFI, we need to check for both files.Expected Behaviour
Opening vim does not cause errors and you can use ivy.
Actual Behaviour
When you open vim you get the message
Steps to Reproduce the Problem
1) Clone and compile ivy on macOS 2) Open vim