Menu

#61 Dia does not run on Lion

closed
None
5
2012-10-04
2011-07-30
Anonymous
No

The currently available Dia package does not run on OS X Lion. It includes its own libiconv.2.dylib that references a symbol "_iconv" that is not found in the system copy of CUPS.

It's a simple thing to make it work... rename or remove /Applications/Dia.app/Contents/Resources/lib/libiconv.2.dylib, which will force the system to use the Lion-provided copy of the library in /usr/lib.

Discussion

  • Nobody/Anonymous

    It works, but I just realized there's another problem... the dock never seems to figure out that the application has actually launched. The bead sits there pulsating forever (well, until you close the app).

     
  • Anonymous

    Anonymous - 2011-08-05

    I tried the updated DMG on a recently upgraded Lion OS, but still does not launch. Here is the error:
    Dyld Error Message:
    Library not loaded: /opt/local/lib/libiconv.2.dylib
    Referenced from: /Applications/Dia.app/Contents/Resources/bin/dia-bin
    Reason: Incompatible library version: dia-bin requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

    Thanks.

     
  • Nobody/Anonymous

    THAT is the same problem I had, but a different REASON. Your system is still finding some other copy of libiconv.2.dylib before the system copy. Yours looks like you have Macports installed... have you updated that for Lion?

     
  • Anonymous

    Anonymous - 2011-08-08

    No, don't have Macports installed, not even XCode on this machine. I did a find on my machine, no other libiconv.2.dylib installed accept for the one in /usr/lib. Strange that dia is looking at /opt/local/lib - /opt doesn't exist on this system.

    I ran dia on this machine when it had snow leopard just fine, only after doing the Lion upgrade it has this problem.

    Any help appreciated.

     
  • Steffen Macke

    Steffen Macke - 2011-12-06

    Dia now runs on Mac OS X 10.7 Lion. Grab the updated DMG from http://dia-installer.de/download/macosx.html Sorry that it took so long. The actual fix was just one line. The development environment came a little bit late. The good news is that Lion comes with X11 pre-installed so there's nothing else that needs to be installed. Looking forward to your feedback. Thanks to all that helped tracking down the problem!

     

Log in to post a comment.