Skip to content
Snippets Groups Projects
  • Amin Bandali's avatar
    28bb42e5
    cmake: Tweak RPATH to fix linking libjami for local installs. · 28bb42e5
    Amin Bandali authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
    * CMakeLists.txt: Tweak the setting of the runtime path (RPATH) to add
    the 'lib' directory for local (non-system-wide) installs, to fix the
    newly-surfaced issue with linking libjami for local installs.
    
    Without this, the executable would be linked against the libjami
    shared library from daemon/src/.libs for the install RPATH as well,
    which for some reason as of recently gets omitted from the install
    RPATH after 'make install', resulting in an error like the following
    when trying to launch jami:
    
    ./install/bin/jami: error while loading shared libraries: libjami.so.0: cannot open shared object file: No such file or directory
    
    Change-Id: If7e172b54728c72ae649fcf936a767b5d9c99488
    cmake: Tweak RPATH to fix linking libjami for local installs.
    Amin Bandali authored and Maxim Cournoyer's avatar Maxim Cournoyer committed
    * CMakeLists.txt: Tweak the setting of the runtime path (RPATH) to add
    the 'lib' directory for local (non-system-wide) installs, to fix the
    newly-surfaced issue with linking libjami for local installs.
    
    Without this, the executable would be linked against the libjami
    shared library from daemon/src/.libs for the install RPATH as well,
    which for some reason as of recently gets omitted from the install
    RPATH after 'make install', resulting in an error like the following
    when trying to launch jami:
    
    ./install/bin/jami: error while loading shared libraries: libjami.so.0: cannot open shared object file: No such file or directory
    
    Change-Id: If7e172b54728c72ae649fcf936a767b5d9c99488
Code owners
Assign users and groups as approvers for specific file changes. Learn more.