<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 12, 2019 at 7:39 AM . <<a href="mailto:dorogobcev@ukr.net">dorogobcev@ukr.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span style="display:block"><div><span style="font-size:10pt;line-height:12pt;font-family:Arial">Hi,</span></div>
<div><span style="font-size:10pt;line-height:12pt;font-family:Arial">I used instruction for CMake linking external library from </span><span style="font-family:Arial;font-size:10pt;line-height:12pt"><a href="https://stackoverflow.com/questions/8774593/cmake-link-to-external-library" rel="noreferrer noopener" target="_blank">https://stackoverflow.com/questions/8774593/cmake-link-to-external-library</a>(for example)</span></div>
<div><span style="font-size:10pt;line-height:12pt;font-family:Arial">And it works on Ubuntu 16 only.</span></div>
<div><span style="font-size:10pt;line-height:12pt;font-family:Arial"><br></span></div>
<div><span style="font-size:10pt;line-height:12pt;font-family:Arial">When I try it made on Ubuntu 18 I got problem during start application: </span></div>
<div style="white-space:pre-wrap"><span style="color:rgb(141,141,141)"><span style="font-family:Arial;font-size:10pt;line-height:12pt">error while loading shared libraries: libfoo.so.3: cannot open shared object file: No such file or directory</span></span></div>
<div style="white-space:pre-wrap"><span style="color:rgb(141,141,141)"><span style="font-family:Arial;font-size:10pt;line-height:12pt"><br></span></span></div>
<div style="white-space:pre-wrap"><span style="font-family:Arial;font-size:10pt;line-height:12pt;color:rgb(0,0,0)">Could anybody help me in this problem?</span></div></span></div></blockquote><div><br></div><div><a href="https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime">https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime</a></div><div><br></div><div>-- <br></div></div><div dir="ltr" class="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div>