<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/bugs/1231/">[bugs:#1231]</a> pd-0.46.7 can't load externals on FreeBSD</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> v0.46<br/>
<strong>Created:</strong> Sun Feb 07, 2016 05:16 AM UTC by Anonymous<br/>
<strong>Last Updated:</strong> Sun Feb 07, 2016 05:16 AM UTC<br/>
<strong>Owner:</strong> nobody<br/>
<strong>Attachments:</strong></p>
<ul>
<li><a class="" href="http://sourceforge.net/p/pure-data/bugs/1231/attachment/patch-src_s_loader.c">patch-src_s_loader.c</a> (1.3 kB; text/x-csrc)</li>
</ul>
<p>The FreeBSD port for PD has until recently been unable to load external objects due to incorrect values in the src/s_loader.c file. Currently s_loader.c assumes an i386 architecture and a .pd_freebsd file extension whereas the rest of the tree assumes .pd_linux in the case of FreeBSD.</p>
<p>The attatched patch has been comitted downstream in FreeBSD ports and solves this issue by removing the special case for FreeBSD and treating it as the same as Linux, GNU/Hurd and Debian/kFreeBSD.</p>
<p>Also, FreeBSD does not have libdl but does provide dlfcn.h: this patch adds a special case for FreeBSD to provide access to the dlfcn header.</p>
<p>Tested on FreeBSD-RELEASE-10.2 with pd-0.46.7 on an intel amd64 processor.</p>
<hr/>
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="http://sourceforge.net/p/pure-data/bugs/">http://sourceforge.net/p/pure-data/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="http://sourceforge.net/p/pure-data/admin/bugs/options.">http://sourceforge.net/p/pure-data/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>