CMake link to external library

classic Classic list List threaded Threaded
2 messages Options
.
Reply | Threaded
Open this post in threaded view
|

CMake link to external library

.
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?
Thanks, Serge.

--

Powered by kitware.com/cmake

Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services

Visit other Kitware open-source projects at https://www.kitware.com/platforms

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

This mailing list is deprecated in favor of https://discourse.cmake.org
Reply | Threaded
Open this post in threaded view
|

Re: CMake link to external library

Andrew Bell


On Tue, Nov 12, 2019 at 7:39 AM . <[hidden email]> 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?


-- 
Andrew Bell
[hidden email]

--

Powered by kitware.com/cmake

Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services

Visit other Kitware open-source projects at https://www.kitware.com/platforms

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

This mailing list is deprecated in favor of https://discourse.cmake.org