[QScintilla] Problem on OSX 10.5.1

Ryutaro Amano wn9r-amn at asahi-net.or.jp
Thu Jan 31 11:02:45 GMT 2008


Thank you reply.
I solved the problem by your advice

------------------------------------------------------------------
$ gdb application.app
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:11:19  
UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "powerpc-apple-darwin"...
warning: Unable to read symbols for "/Users/ryutaro/pythonsrc/PyQt/ 
QScintilla-gpl-2-snapshot-20080120/example-Qt4/ 
libqscintilla2.3.dylib" (file not found).
Reading symbols for shared libraries .......... done

(gdb) r
Starting program: /Users/ryutaro/pythonsrc/PyQt/QScintilla-gpl-2- 
snapshot-20080120/example-Qt4/application.app/Contents/MacOS/application
dyld: Library not loaded: libqscintilla2.3.dylib
  Referenced from: /Users/ryutaro/pythonsrc/PyQt/QScintilla-gpl-2- 
snapshot-20080120/example-Qt4/application.app/Contents/MacOS/application
  Reason: image not found

Program received signal SIGTRAP, Trace/breakpoint trap.
0x8fe0105c in __dyld_dyld_fatal_error ()
(gdb) bt
#0  0x8fe0105c in __dyld_dyld_fatal_error ()
#1  0x8fe08010 in __dyld__ZN4dyld5_mainEPK11mach_headermiPPKcS5_S5_ ()
#2  0x8fe01774 in  
__dyld__ZN13dyldbootstrap5startEPK11mach_headeriPPKcl ()
#3  0x8fe01048 in __dyld__dyld_start ()
(gdb)
-----------------------------------------------------------------------

I made symbolic link.

sudo ln -s /usr/local/Trolltech/Qt-4.3.3/lib/ 
libqscintilla2.3.0.0.dylib /usr/local/lib/libqscintilla2.3.dylib

OK, this time, application.app works fine.
Many thanks.

Ryutaro Amano
wn9r-amn at asahi-net.or.jp




More information about the QScintilla mailing list