[CMake] Install an executable with his libraries
Rolf Eike Beer
eike at sf-mail.de
Wed Jan 18 05:03:05 EST 2012
> Hello,
>
> I'm new with CMake and for a project I try to build and install a program.
> I've done some research on the forum and try what have found but nothing
> seems to work :/.
[...]
> The build works fine and if I launch manager on the bin directory from the
> build tree, there is no problem. However, when I use make install, all the
> files are correctly installed /usr/local/lib and /usr/local/bin but I
> can't
> launch Manager exectuable. A message informs me that the executable can't
> find BaseLib.so.
>
> I don't know where my error is :/.
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
Eike
More information about the CMake
mailing list