LoginSignup
0
0

More than 1 year has passed since last update.

MacPorts で GrADS をインストールして起動しない時 (Monterey)

Posted at

MacPortsにてGrADS 2.2.1をダウンロードして,起動すると下記のエラーが出た.

GX Package Error: dlopen failed to get a handle on gxprint plug-in named "Cairo"
   dlopen(/opt/local/lib/grads/libgxpCairo.dylib, 0x0001): symbol not found in flat namespace '_gxdXflush'
GX Package Terminated

調べるとこのようなページがヒットする.曰く,-h GDオプションをつけるとgxprit(これが何者か理解してないが)をCairoではなくGD(本家ではclassicとも呼ばれてる)へ指定するそう.

~ % grads -h GD

Grid Analysis and Display System (GrADS) Version 2.2.1
Copyright (C) 1988-2018 by George Mason University
GrADS comes with ABSOLUTELY NO WARRANTY
See file COPYRIGHT for more information

Config: v2.2.1 little-endian readline grib2 netcdf hdf4-sds hdf5 opendap-grids geotiff shapefile
Issue 'q config' and 'q gxconfig' commands for more detailed configuration information
GX Package Initialization: Size = 11 8.5
ga->

無事起動しました!

ただ,これが自分の環境に固有の問題なのかどうかはよく分かっておりません.誰かの役に立てば幸いです..


参考,gradsコマンドのオプションの説明
Starting and Quitting GrADS

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0