[CMake] Install an executable with his libraries

Anthony Todisco todisco.anthony.06 at gmail.com
Wed Jan 18 05:35:54 EST 2012


Thank you very much, it works fine now :D.

I've missed this step :/

2012/1/18 Rolf Eike Beer <eike at sf-mail.de>

> > 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
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120118/2b31ba28/attachment.htm>


More information about the CMake mailing list