<div>I just built QScintilla on a Mac running 10.5.2 for the first time, and the linking for libqscintilla2.dylib didn&#39;t come out right. The dylib was put in /Library/Frameworks, but Qsci.so was looking for it in /. After creating a symlink to it in /, it worked:</div>
<div><br class="webkit-block-placeholder"></div><div>/ # python -c &#39;from PyQt4 import Qsci&#39;</div><div>Traceback (most recent call last):</div><div>&nbsp;&nbsp;File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;</div>
<div>ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/Qsci.so, 2): Library not loaded: /libqscintilla2.dylib</div><div>&nbsp;&nbsp;Referenced from: /Library/Python/2.5/site-packages/PyQt4/Qsci.so</div><div>&nbsp;&nbsp;Reason: image not found</div>
<div>/ # ln -s /Library/Frameworks/libqscintilla2.dylib&nbsp;</div><div>/ # python -c &#39;from PyQt4 import Qsci&#39;</div><div><br class="webkit-block-placeholder"></div><div>I compiled it by clicking the big build button in Xcode after opening the qscintilla2.xcodeproj that qmake created.<br>
</div><div><br class="webkit-block-placeholder"></div><div>Josh</div>