[QScintilla] linking libqscintilla2.dylib
Phil Thompson
phil at riverbankcomputing.com
Tue Feb 26 22:42:42 GMT 2008
On Tuesday 26 February 2008, Joshua Bronson wrote:
> I just built QScintilla on a Mac running 10.5.2 for the first time, and the
> linking for libqscintilla2.dylib didn'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:
>
> / # python -c 'from PyQt4 import Qsci'
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> ImportError: dlopen(/Library/Python/2.5/site-packages/PyQt4/Qsci.so, 2):
> Library not loaded: /libqscintilla2.dylib
> Referenced from: /Library/Python/2.5/site-packages/PyQt4/Qsci.so
> Reason: image not found
> / # ln -s /Library/Frameworks/libqscintilla2.dylib
> / # python -c 'from PyQt4 import Qsci'
>
> I compiled it by clicking the big build button in Xcode after opening the
> qscintilla2.xcodeproj that qmake created.
This should be fixed in the current QScintila snapshot.
Phil
More information about the QScintilla
mailing list