<br><div class="gmail_quote">On Nov 16, 2007 1:10 AM, Phil Thompson &lt;<a href="mailto:phil@riverbankcomputing.co.uk">phil@riverbankcomputing.co.uk</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday 16 November 2007, Scott Willman wrote:<br>&gt; I&#39;m trying to debug the py2app recipe that handles sip on the mac. From<br>&gt; what I see, it appears to be looking for:<br>&gt;<br>&gt; &nbsp;sipconfig.Configuration
(). qt_lib_dir<br>&gt;<br>&gt; However, this attribute doesn&#39;t appear to exist anymore (that I can find).<br>&gt; If it has indeed changed, is this information stored in another attribute<br>&gt; somewhere else?<br><br>
</div>from PyQt4 import pyqtconfig<br>pyqtconfig.Configuration().qt_lib_dir<br><div class="Ih2E3d"></div></blockquote><div><br>Fixed! When it fully works, I&#39;ll see if the author of py2app will update it for the masses.
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>&gt; Also, it&#39;s looking for a environment variable called &#39;DYLD_LIBRARY_PATH&#39;
<br>&gt; that I don&#39;t seem to have set. I don&#39;t see any other env vars that would<br>&gt; contain what that it seems to be looking for. Can anyone fill in the blanks<br>&gt; here?<br><br></div>It contains the list of additional directories searched by the loader for
<br>shared libraries. Nether SIP nor SIP generated code needs it - but libraries<br>being wrapped by SIP might, depending on where they are installed (but that&#39;s<br>a problem for those libraries).<br><br>It sounds like that recipe is for SIP v3.
<br><br>Phil</blockquote><div><br>There must be central place where these paths are listed. One of the elements it cannot find is QtCore.so. While that&#39;s easy enough to find, it would still be good to find where it&#39;s path is stored so as not to hardcode anything. Any ideas what replaced the DYNLD_LIBRARY_PATH env var?
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>_______________________________________________<br>PyQt mailing list &nbsp; &nbsp;<a href="mailto:PyQt@riverbankcomputing.com">
PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br>