<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">I am using </span><span style="font-family: Monaco; font-size: 12px;" class="">MacPorts base version 2.7.2 under OS 11.6.4.</span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="font-family: Monaco; font-size: 12px;" class="">All my dealings with MacPorts is done using sudo</span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="font-family: Monaco; font-size: 12px;" class="">I got the following error:</span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;"><br class=""></span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">45</span> <span class="ansi-bold" style="box-sizing: border-box; font-weight: bold; color: rgb(0, 135, 0);">try</span>:
<span class="ansi-green-fg" style="box-sizing: border-box; color: rgb(0, 162, 80);">---> 46</span>     _lib <span style="box-sizing: border-box; color: rgb(98, 98, 98);" class="">=</span> <span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43);">cdll</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43); color: rgb(98, 98, 98);">.</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43);">LoadLibrary</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43);">(</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43); color: rgb(175, 0, 0);">'</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43); color: rgb(175, 0, 0);">libopenslide.0.dylib</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43); color: rgb(175, 0, 0);">'</span><span class="ansi-yellow-bg" style="box-sizing: border-box; background-color: rgb(221, 182, 43);">)</span>
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     47</span> <span class="ansi-bold" style="box-sizing: border-box; font-weight: bold; color: rgb(0, 135, 0);">except</span> <span class="ansi-bold" style="box-sizing: border-box; font-weight: bold; color: rgb(215, 95, 95);">OSError</span>:
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     48</span>     <span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""># MacPorts doesn't add itself to the dyld search path, but</span>
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     49</span>     <span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""># does add itself to the find_library() search path</span>
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     50</span>     <span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""># (DEFAULT_LIBRARY_FALLBACK in ctypes.macholib.dyld) on</span>
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     51</span>     <span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""># Python 2.6 and 2.7.  Python 3 users on MacPorts should add</span>
<span class="ansi-bold ansi-green-intense-fg" style="box-sizing: border-box; color: rgb(0, 116, 39); font-weight: bold;">     52</span>     <span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""># the MacPorts lib directory to DYLD_LIBRARY_PATH.</span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""><br class=""></span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="box-sizing: border-box; color: rgb(95, 135, 135);" class="">Q1 Where is </span><span style="color: rgb(95, 135, 135);" class="">DYLD_LIBRARY_PATH defined?</span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">Q2 What is the official pathname of the </span><span style="caret-color: rgb(95, 135, 135); white-space: pre-wrap;" class="">“</span><span style="white-space: pre-wrap;" class="">MacPorts lib directory”?</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">Q3 How should I have found the answers to the above two questions, without</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">bothering macports-users?</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="caret-color: rgb(95, 135, 135); white-space: pre-wrap;" class="">It would be nice if the standard MacPorts distribution dealt with this</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">problem so that I didn’t have to deal with it manually.</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">Thanks for your help.</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class=""><br class=""></span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><font color="#5f8787" class=""><span style="white-space: pre-wrap;" class="">David Epstein</span></font></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""><br class=""></span></pre>
<pre style="box-sizing: border-box; overflow: auto; padding: 1px 0px; margin-top: 0px; margin-bottom: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; background-color: rgb(255, 255, 255); border: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; white-space: pre-wrap; vertical-align: baseline; font-variant-ligatures: normal; orphans: 2; widows: 2; text-decoration-thickness: initial;" class=""><span style="box-sizing: border-box; color: rgb(95, 135, 135);" class=""><br class=""></span></pre>
<div class=""><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
</div>
</div>
<br class="">
</body>
</html>