[gradsusr] grads on Mavericks -- No X11 ?

Graf, Alexander (GE Global Research) a.graf at ge.com
Fri May 2 19:01:07 EDT 2014


Hello Grads Users,

I am trying to get grads working in Macintosh Mavericks.  Has any one done this successfully?  I am running into dylib problems that according to other forums on the web results from the deprecation of X11.

I tried the installation and functionality on an older machine running Snow Leopard and it worked.

My setup:
I am running OS 10.9.2 Mavericks on an Intel Macintosh.

I tried using grads version  — darwin11.4-intel

SFO1212339408M:bin 212339408$ ls -lo

total 25376

-rw-r--r--  1 212339408    19229 Nov  9  2012 COPYRIGHT

-rw-r--r--  1 212339408     2266 Jul 31  2008 INSTALL

-rwxr-xr-x  1 212339408    33652 Nov  9  2012 bufrscan

-rwxr-xr-x  1 212339408  9608256 Nov  9  2012 grads

-rwxr-xr-x  1 212339408   391616 Nov  9  2012 grib2scan

-rwxr-xr-x  1 212339408  1051944 Nov  9  2012 gribmap

-rwxr-xr-x  1 212339408   408832 Nov  9  2012 gribscan

-rwxr-xr-x  1 212339408    37800 Nov  9  2012 gxeps

-rwxr-xr-x  1 212339408    27912 Nov  9  2012 gxps

-rwxr-xr-x  1 212339408   606084 Nov  9  2012 gxtran

-rwxr-xr-x  1 212339408   438520 Nov  9  2012 stnmap

-rwxr-xr-x  1 212339408   346372 Nov  9  2012 wgrib

SFO1212339408M:bin 212339408$ pwd

/usr/local/bin/grads-2.0.2/bin

SFO1212339408M:bin 212339408$ ./grads

dyld: Library not loaded: /opt/local/lib/libX11.6.dylib

  Referenced from: /usr/local/bin/grads-2.0.2/bin/./grads

  Reason: image not found

Trace/BPT trap: 5

SFO1212339408M:bin 212339408$


SFO1212339408M:bin 212339408$ otool -L grads

grads:

/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)

/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)

/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)

The correct version of this dylib happens to live somewhere else ( /opt/X11/lib/libX11.6.dylib ) on my computer so a symbolic link fixes the issue.


sudo ln -s /opt/X11/lib/libX11.dylib /opt/local/lib/libX11.6.dylib

So I move on to a new issue.


SFO1212339408M:bin 212339408$ ./grads

dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib

  Referenced from: /usr/local/bin/grads-2.0.2/bin/./grads

  Reason: Incompatible library version: grads requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0

Trace/BPT trap: 5

Unfortunately, the correct version of this library doesn’t seem to exist anywhere I can find.

I also tried using grads version — darwin11.4
It asks to install X11 (which is deprecated in Mavericks (and before I think) ).  I have XQuartz up and running but I am not sure how to get grads to be satisfied with it instead.

My only thought is to install Macports, with the hope that it would supply the various libraries in /opt/local/lib/ that it needs  — but I would really prefer not to go this route.

Any thoughts ?  I can provide more info as necessary.

Thanks for the help.

Alex




More information about the gradsusr mailing list