Jasvirbahl / b-tk

Automatically exported from code.google.com/p/b-tk
0 stars 0 forks source link

Mokka does not run after 'make install' under linux #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run CMake configure it to create Mokka
2. run make and make uninstall
3. run Mokka

What is the expected output? What do you see instead?
Mokka should be installed and run from the console. Instead I get:

Mokka: error while loading shared libraries: libBTKCommon.so.0.1: cannot open 
shared object file: No such file or directory

What version of the product are you using? On what operating system?
Most recent version (revision 680).

Please provide any additional information below.
As all libraries are installed to ${CMAKE_INSTALL_PREFIX}/lib/btk-0.1 (note the 
added btk-0.1 folder) one must append to the install rpath in <b-tk 
root>/CMakeLists.txt:29 also the additional "btk-0.1". The full line must read:

SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/btk-0.1")

Awesome project btw.

Original issue reported on code.google.com by martin.f...@gmail.com on 9 Jul 2011 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by arnaud.barre on 11 Jul 2011 at 9:29

GoogleCodeExporter commented 8 years ago
Fixed by the revision r681.

Original comment by arnaud.barre on 11 Jul 2011 at 10:23