[CMake] CMake link to external library

Andrew Bell andrew.bell.ia at gmail.com
Tue Nov 12 08:15:50 EST 2019


On Tue, Nov 12, 2019 at 7:39 AM . <dorogobcev at ukr.net> wrote:

> Hi,
> I used instruction for CMake linking external library from
> https://stackoverflow.com/questions/8774593/cmake-link-to-external-library(for
> example)
> And it works on Ubuntu 16 only.
>
> When I try it made on Ubuntu 18 I got problem during start application:
> error while loading shared libraries: libfoo.so.3: cannot open shared
> object file: No such file or directory
>
> Could anybody help me in this problem?
>

https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191112/475e70d0/attachment.html>


More information about the CMake mailing list