jeanguyomarch/eovim

Executable cannot find its installed libraries on 64bit OS X

Closed this issue · 2 comments

  • eovim --version:
    • Command fails (see below)
    • Changelog says 0.1.3
    • Git HASH is ad0d64999ccb8793baf5de5f748922040b9240e7
  • nvim --version | head -n1:
    • NVIM v0.3.4
  • edje_cc --version:
    • Version 1.21.1
  • OS
    • Mac OS X Mojave (10.14.4)
  • uname -a
    • Darwin Ben-Forsberg-MTI.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64
  • set | grep PKG
    • PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:

Following the installation instructions, there are no errors. In the install step in particular, I see the line:

-- Installing: /usr/local/lib64/libeovim.dylib

However, when I attempt to run eovim I get the following error:

3 build $ eovim
dyld: Library not loaded: @rpath/libeovim.dylib
  Referenced from: /usr/local/bin/eovim
  Reason: image not found
Abort trap: 6

Maybe the installation directory of the library (<prefix>/lib64) is not suitable for macOS.
Can you please try (after cleaning the previous installation with make uninstall - maybe as root) using an alternate library directory? For instance, to use <prefix>/lib write pass the following to the cmake command:

-DLIB_INSTALL_DIR=lib

As plugins have been removed, there is no libdir anymore.