Upgrading SDDS version June 4 2009

Moderators: cyao, soliday

Post Reply
varese
Posts: 5
Joined: 10 Sep 2008, 10:19

Upgrading SDDS version June 4 2009

Post by varese » 07 Sep 2009, 09:21

I tried to upgrade to Elegant22 and SDDS Version June 4, 2009 on my MAC OS 10.5.8
but this is what I obtain trying to use SDDSplot :
"dyld: Library not loaded: /usr/X11/lib/libpng.3.dylib
Referenced from: /Users/cristina/oag/apps/bin/darwin-x86/sddsplot
Reason: Incompatible library version: sddsplot requires version 39.0.0 or later, but libpng.3.dylib provides version 3.0.0"

and this is what fink says:

Information about 4399 packages read in 1 seconds.
i libpng-shlibs 1.0.12-7 PNG image format handling library (old version)
i libpng3 1:1.2.35-2 PNG image format handling library
i libpng3-shlibs 1:1.2.35-2 Shared libraries for libpng3 package
i system-pkgconfig-libpng 1.2.39-1 [virtual pkgconfig package representing libpng]
i system-pkgconfig-libpng12 1.2.39-1 [virtual pkgconfig package representing libpng12]

I installed the version 39 downloading from the libpng.org the darwin-x86 version and probably something is not in the right place...
or I don't know, can you help me?
Thanks a lot
Cristina

soliday
Posts: 391
Joined: 28 May 2008, 09:15

Re: Upgrading SDDS version June 4 2009

Post by soliday » 09 Sep 2009, 09:39

Can you run:
otool -L sddsplot

For me this returns:
/usr/X11/lib/libpng.3.dylib (compatibility version 39.0.0, current version 39.0.0)

My system has both /usr/X11/lib/libpng.3.dylib (Xcode version) and /sw/lib/libpng.3.dylib (Fink version). Here is what I get when I run otool -L on both of them:

darwin-x86>otool -L /sw/lib/libpng.3.dylib
/sw/lib/libpng.3.dylib:
/sw/lib/libpng.3.dylib (compatibility version 39.0.0, current version 39.0.0)

darwin-x86>otool -L /usr/X11/lib/libpng.3.dylib
/usr/X11/lib/libpng.3.dylib:
/usr/X11/lib/libpng.3.dylib (compatibility version 39.0.0, current version 39.0.0)


My guess is that it that you might have an older version of Xcode which is getting used instead of the Fink library.

Post Reply