Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Moderators: cyao, soliday

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

Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Post by varese » 17 Feb 2010, 13:49

Hello

I was trying to install the dec 7 2009 version of Elegant and SDDS binaries on Mac OS X 106.2 but I got this answer:

dyld: Library not loaded: /sw/lib/libreadline.5.dylib
Referenced from: /Applications/OAG/darwin-x86/elegant
Reason: no suitable image found. Did find:
/sw/lib/libreadline.5.dylib: mach-o, but wrong architecture
Trace/BPT trap

I got a 2 x 2.8 GHz Quad Core Intel Xeon , but anyway I tried also the ppc version (just in case..)
So after trying all my best with fink and darwin ports I decided to compile the sources of the two and I won with the SDDS toolkit, coming back to the June 2009 version, (don't know why), the problem now is that when I type " make" in the oag/apps/configure folder I got this answer:

[~/Downloads/oag/apps/configure] make
../configure/CONFIG_APPS:9: /usr/local/iocapps/R3.14.9/base/3-14-9-asd1/configure/CONFIG: No such file or directory
../configure/RULES:3: /usr/local/iocapps/R3.14.9/base/3-14-9-asd1/configure/RULES: No such file or directory
make: *** No rule to make target `/usr/local/iocapps/R3.14.9/base/3-14-9-asd1/configure/RULES'. Stop

and I do'nt really know what to do now, moreover I need to run Pelegant quite desperately
can you help me?

thank you very much in advance.

Cristina

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

Re: Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Post by soliday » 17 Feb 2010, 14:11

Here is my output from "otool -L elegant"

elegant:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current version 5.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

I have 3 fink readline packages installed:
i readline-shlibs 4.3-1029 Comfortable terminal input library
i readline5 5.0-1006 Comfortable terminal input library
i readline5-shlibs 5.0-1006 Comfortable terminal input library

My results from "file /sw/lib/libreadline.5.dylib"
/sw/lib/libreadline.5.dylib: Mach-O dynamically linked shared library i386

So my guess right now is that you have the 64bit readline packages installed but not the 32bit ones.

As for the "make" error, you need to set EPICS_BASE in the oag/apps/configure/RELEASE file. If you also have a RELEASE.darwin-x86 you will need to set it there too. It probably needs to be set to ~/Downloads/epics/base but you will need to use the full path name instead of ~.

ilkyoung.shin
Posts: 8
Joined: 09 Nov 2009, 16:18

Re: Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Post by ilkyoung.shin » 15 Nov 2010, 14:51

Hello,

I am trying to install the Elegant and SDDS binaries on Mac OS X 10.6.5. The Elegant seems to work well, but when I try to plot with SDDS, I got this the messages:

dyld: Library not loaded: /sw/lib/libXm.4.dylib
Referenced from: /OAG_apps/mpl_motif
Reason: image not found

Does anybody have an idea for these messages.

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

Re: Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Post by soliday » 15 Nov 2010, 16:56

I believe libXm.4.dylib comes from the openmotif package from Fink.

ilkyoung.shin
Posts: 8
Joined: 09 Nov 2009, 16:18

Re: Upgrade Elegant and SDDS Dec. 2009 version on Mac OS 10.6

Post by ilkyoung.shin » 15 Nov 2010, 18:12

Thank you so much. I works after installing "openmotif4-shlibs".
I'd like to leave a posting for those who would have the same problem as I had.

Previously I followed the directions of "Elegant & SDDS on Mac OS X 10.5". In the installation guide, it say:

5. You must install several libraries using the fink application:
/sw/bin/fink install libpng3-shlibs
/sw/bin/fink install openmotif3-shlibs
/sw/bin/fink install readline5-shlibs
/sw/bin/fink install gd2-shlibs
/sw/bin/fink install libtiff-shlibs

In my case SDDS works after installing "openmotif4-shlibs" instead of(or as well as) "openmotif3-shlibs". I am not sure both libraries are needed or not.

Post Reply