<div dir="ltr">Yes, I think you're right. The DAW may load the plugins with RTLD_LOCAL that's why my symbols are not accessible. Thanks a lot ! So I have to load dynamic libraries in Pure Data that is already a dynamic library loaded by my plugin that is already a dynamic library loaded by the DAW... it sounds like Inception.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-10 10:19 GMT+01:00 Kjetil Matheussen <span dir="ltr"><<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 10:12 AM, Nicolas Danet <span dir="ltr"><<a href="mailto:nicolas.danet@free.fr" target="_blank">nicolas.danet@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does it means that if the host opens the plug-in with RTLD_LOCAL flag, that plug-in will not be able to export its symbols table to its own dlopened externals (even doing it with RTLD_GLOBAL)?<br>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">It's been a while since I worked with this, but I think that's correct.</div><div class="gmail_extra">You have to load the pure data code with RTLD_GLOBAL in order</div><div class="gmail_extra">to load pd externals. And as I said, you can do that from your</div><div class="gmail_extra">plugin just be creating another dynamic library which is loaded from</div><div class="gmail_extra">your plugin.</div></div>
<br>_______________________________________________<br>
Pd-dev mailing list<br>
<a href="mailto:Pd-dev@lists.iem.at">Pd-dev@lists.iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/pd-dev" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-dev</a><br>
<br></blockquote></div><br></div>