<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On Oct 12, 2016, at 9:30 AM, Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com" class="">jancsika@yahoo.com</a>> wrote:</div><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div id="yui_3_16_0_ym19_1_1476284787917_6662" class=""><br class=""></div></div></div></div></blockquote><blockquote type="cite" class=""><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div dir="ltr" id="yiv8949594039m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18583" class=""><div class="">When building the app bundle, Hans (I think) wrote a script that can grab the <br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7226" dir="ltr" class="">/opt/local/lib dependencies, copy them to the app bundle, and revise the path <br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7227" dir="ltr" class="">in the binary using @executable_path to make sure the dependecies in the app <br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7228" dir="ltr" class="">bundle are correctly found when loading an external.</div></div></div></div></div></blockquote><div><br class=""></div><div>Yeah, that’s probably using install_name_tool. Here’s an old but relevant discussion on this: <a href="http://forums.macrumors.com/threads/embedding-or-statically-linking-against-a-dylib.176077/" class="">http://forums.macrumors.com/threads/embedding-or-statically-linking-against-a-dylib.176077/</a></div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div dir="ltr" id="yiv8949594039m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18585" class="">Now, with homebrew:</div><div dir="ltr" id="yiv8949594039m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18563" class="">otool -L oggread~.pd_darwin<br clear="none" class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_5063" dir="ltr" class=""><br clear="none" class=""></div><div dir="ltr" id="yiv8949594039m_-9203480457081457445yui_3_16_0_ym19_1_1476280510330_18560" class="">/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)</div><div id="yui_3_16_0_ym19_1_1476284787917_7509" class="">/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 915.0.0)</div><div id="yui_3_16_0_ym19_1_1476284787917_7508" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7507" class="">***</div><div id="yui_3_16_0_ym19_1_1476284787917_7506" class=""><br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7505" dir="ltr" class="">There's no path listed at all to the ogg lib dependencies.  When I try to load <br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_8266" dir="ltr" class="">oggread~ with the Purr Data app bundle I just created it doesn't search <br class=""></div><div id="yui_3_16_0_ym19_1_1476284787917_7810" dir="ltr" class="">/usr/local/lib and consequently reports missing symbols.</div></div></div></div></blockquote><div><br class=""></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 href="https://github.com/pure-data/pure-data/blob/autotools_updates/configure.ac#L62" class="">https://github.com/pure-data/pure-data/blob/autotools_updates/configure.ac#L62</a></div><div><br class=""></div><div>--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" class="">@danomatika</a><br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div></div><br class=""><br class=""></div><div><br class=""></div><br class=""></body></html>