[QScintilla] linking libqscintilla2.dylib

Joshua Bronson jabronson at gmail.com
Tue Feb 26 20:43:43 GMT 2008


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.

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20080226/d1b8d257/attachment.html


More information about the QScintilla mailing list