<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Mar 13, 2017 at 2:16 PM, Fred van Stappen <span dir="ltr"><<a href="mailto:fiens@hotmail.com" target="_blank">fiens@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div id="m_-7857791318654411032gmail-m_-194409152428866105divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:calibri,arial,helvetica,sans-serif" dir="ltr">
<p><span style="font-size:12pt">But what about if liba has dependencies with no path defined:</span><br></p>
<p><span style="font-size:12pt">---> </span><span style="font-size:12pt"> handle = dlopen("../libb/libb.so", RTLD_LAZY); ---> ok it works but the path was defined.</span><br></p>
<p><span style="font-size:12pt">But if no path was defined, IMO it will work only if </span><span style="font-family:calibri,arial,helvetica,sans-serif,"apple color emoji","segoe ui emoji",notocoloremoji,"segoe ui symbol","android emoji",emojisymbols">libb.so
is in /usr/lib/ or usr/local/lib.</span></p></div></div></blockquote></div>What about this new attached example (III)?<br><br><div class="gmail_extra">- fpc loads liba/liba and calls their funcs;</div><div class="gmail_extra">- liba loads dep libb from a path predefined in the app and calls its func;</div><div class="gmail_extra">- libb loads dep liba from a path predefined in the app and calls its func.</div><br>If that doesn't work either, I don't know what to do, because there is no way the system guess where your libraries are located. o.o'<br><div><br></div>-- <br><div class="m_-7857791318654411032gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div>
</div></div>