<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span>After a bit of finessing, Homebrew seems to be working just fine.</span></div><div><span><br></span></div><div id="yui_3_16_0_ym19_1_1476466516920_3142">One snag-- any idea how to get plugin~ building using only Homebrew libs?  I need </div><div dir="ltr" id="yui_3_16_0_ym19_1_1476466516920_3141">ladspa.h but there's no package for it.  I suppose I can just wget it if nothing else...</div><div dir="ltr" id="yui_3_16_0_ym19_1_1476466516920_3143"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1476466516920_3144">-Jonathan</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1476466516920_3145"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1476466516920_3016" style="display: block;">  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1476466516920_3015"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1476466516920_3014"> <div dir="ltr" id="yui_3_16_0_ym19_1_1476466516920_3013"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1476466516920_3012"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Dan Wilcox <danomatika@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Jonathan Wilkes <jancsika@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Matt Barber <brbrofsvl@gmail.com>; Pd-List <pd-list@lists.iem.at><br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, October 12, 2016 11:53 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [PD] Purr Data beta 2<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1476466516920_3146"><br><div id="yiv7906623241"><div id="yui_3_16_0_ym19_1_1476466516920_3147"><div class="yiv7906623241"><div class="yiv7906623241" style="color:rgb(0, 0, 0);letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;"><br clear="none" class="yiv7906623241"></div></div><div id="yui_3_16_0_ym19_1_1476466516920_3150"><blockquote class="yiv7906623241" type="cite" id="yui_3_16_0_ym19_1_1476466516920_3149"><div class="yiv7906623241" id="yui_3_16_0_ym19_1_1476466516920_3148">On Oct 12, 2016, at 9:30 AM, Jonathan Wilkes <<a rel="nofollow" shape="rect" class="yiv7906623241" ymailto="mailto:jancsika@yahoo.com" target="_blank" href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>> wrote:</div><div class="yiv7906623241" id="yui_3_16_0_ym19_1_1476466516920_3153"><div class="yiv7906623241" id="yui_3_16_0_ym19_1_1476466516920_3152"><div class="yiv7906623241" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1476466516920_3151"><div class="yiv7906623241" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_6662"><br clear="none" class="yiv7906623241"></div></div></div></div></blockquote><blockquote class="yiv7906623241" type="cite"><div class="yiv7906623241"><div class="yiv7906623241"><div class="yiv7906623241" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv7906623241" dir="ltr" id="yiv7906623241m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18583"><div class="yiv7906623241">When building the app bundle, Hans (I think) wrote a script that can grab the <br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7226">/opt/local/lib dependencies, copy them to the app bundle, and revise the path <br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7227">in the binary using @executable_path to make sure the dependecies in the app <br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7228">bundle are correctly found when loading an external.</div></div></div></div></div></blockquote><div><br clear="none" class="yiv7906623241"></div><div>Yeah, that’s probably using install_name_tool. Here’s an old but relevant discussion on this: <a rel="nofollow" shape="rect" class="yiv7906623241" target="_blank" href="http://forums.macrumors.com/threads/embedding-or-statically-linking-against-a-dylib.176077/">http://forums.macrumors.com/threads/embedding-or-statically-linking-against-a-dylib.176077/</a></div><div><br clear="none" class="yiv7906623241"></div><blockquote class="yiv7906623241" type="cite"><div class="yiv7906623241"><div class="yiv7906623241"><div class="yiv7906623241" style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:16px;"><div class="yiv7906623241" dir="ltr" id="yiv7906623241m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18585">Now, with homebrew:</div><div class="yiv7906623241" dir="ltr" id="yiv7906623241m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18563">otool -L oggread~.pd_darwin<br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_5063"><br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18560">/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)</div><div class="yiv7906623241" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7509">/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 915.0.0)</div><div class="yiv7906623241" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7508"><br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7507">***</div><div class="yiv7906623241" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7506"><br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7505">There's no path listed at all to the ogg lib dependencies.  When I try to load <br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_8266">oggread~ with the Purr Data app bundle I just created it doesn't search <br clear="none" class="yiv7906623241"></div><div class="yiv7906623241" dir="ltr" id="yiv7906623241yui_3_16_0_ym19_1_1476284787917_7810">/usr/local/lib and consequently reports missing symbols.</div></div></div></div></blockquote><div><br clear="none" class="yiv7906623241"></div><div>I’m not sure. Maybe, try explicitly adding /usr/local/include to the header search path and /usr/local/lib to the linker search path? I’m doing that in the autotools_update brach configure.ac: <a rel="nofollow" shape="rect" class="yiv7906623241" target="_blank" href="https://github.com/pure-data/pure-data/blob/autotools_updates/configure.ac#L62">https://github.com/pure-data/pure-data/blob/autotools_updates/configure.ac#L62</a></div><div class="yiv7906623241yqt8585904605" id="yiv7906623241yqtfd45518"><div><br clear="none" class="yiv7906623241"></div><div>--------<br clear="none" class="yiv7906623241">Dan Wilcox<br clear="none" class="yiv7906623241"><a rel="nofollow" shape="rect" class="yiv7906623241" target="_blank" href="https://twitter.com/danomatika">@danomatika</a><br clear="none" class="yiv7906623241"><a rel="nofollow" shape="rect" class="yiv7906623241" target="_blank" href="http://danomatika.com/">danomatika.com</a><br clear="none" class="yiv7906623241"><div class="yiv7906623241"><a rel="nofollow" shape="rect" class="yiv7906623241" target="_blank" href="http://robotcowboy.com/">robotcowboy.com</a></div></div><br clear="none" class="yiv7906623241"><br clear="none" class="yiv7906623241"></div></div><div class="yiv7906623241yqt8585904605" id="yiv7906623241yqtfd54852"><div><br clear="none" class="yiv7906623241"></div><br clear="none" class="yiv7906623241"></div></div></div><br><br></div> </div> </div>  </div></div></body></html>