GNOME Bugzilla – Bug 656137
Application crashes after starting on Mac OS 10.7
Last modified: 2011-12-06 20:02:15 UTC
After installing Dia-0.97.1-1.dmg on Mac OS 10.7 into the Application Folder Dia crashes while starting: Crashed Thread: 0 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Symbol not found: _iconv Referenced from: /usr/lib/libcups.2.dylib Expected in: /Users/USER/Documents/Dia.app/Contents/Resources/lib/libiconv.2.dylib in /usr/lib/libcups.2.dylib
I guess that you've used the binaries available from http://dia-installer.de/download/macosx.html The bug is confirmed by other users, e.g. http://sourceforge.net/tracker/?func=detail&aid=3382836&group_id=16768&atid=216768 I'm not sure if this will go away until someone rebuilds the package on OS X 10.7 Lion. On my roadmap, I'll update to Lion by the end of the year.
Ive tried to build it on Lion. First i upgraded to the newest macports. Then i tried to compile the sources. After minor changes in a file it compiles with success. Now if i start it X Starts and then i get a segmentation fault...
To me the report looks like some conflict between the included libiconv version and the system provided libcups. A rebuild of the Dia sources can't solve it.
It's the way the libraries are loaded. I've changed the order in the wrapper script. An updated DMG is available from http://dia-installer.de/download/macosx.html