[ncl-install] problem for installing plot_soundings.exe of OBGRIB

Mary Haley haley at ucar.edu
Mon Sep 30 10:13:31 MDT 2013


Lijun,

You might trying googling some of these error messages.  My guess is that you need the development version of cairo, and you may only have the run-time version of cairo.

Or, maybe you just have an older version of cairo.  Whenever you get "undefined references" like this, you can look for them using the "nm" command on your library:

  nm /usr/lib64/libcairo.so | grep cairo_move_to

You should see something like:

0000000000001838 T _cairo_move_to

If you only see something like:

                 U _cairo_move_to

then the symbol is not defined in that library, but is referenced by that library.

--Mary

On Sep 23, 2013, at 2:13 PM, Lijun Diao <ljdiao at gmail.com> wrote:

> Dear intall-NCL:
>  
> I am trying to install plot_soundings.exe of OBGRIB. I got the error message as:
>  
> /opt/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_SoftFill':
> cro.c:(.text+0x100e): undefined reference to `cairo_move_to'
> cro.c:(.text+0x105f): undefined reference to `cairo_line_to'
> cro.c:(.text+0x1069): undefined reference to `cairo_stroke'
> cro.c:(.text+0x1177): undefined reference to `cairo_move_to'
> cro.c:(.text+0x11c9): undefined reference to `cairo_line_to'
> cro.c:(.text+0x11d3): undefined reference to `cairo_stroke'
>  
> How can I solve this problem?  When I use “locate kibcairo”, I got
>  
> /opt/exelis/idl82/idlde/bin.linux.x86/libcairo-swt.so
> /usr/lib/libcairo.so.2
> /usr/lib/libcairo.so.2.9.2
> /usr/lib64/libcairo.so
> /usr/lib64/libcairo.so.2
> /usr/lib64/libcairo.so.2.9.2
> /var/lib/systemimager/images/oscarimage/usr/lib64/libcairo.so.2
> /var/lib/systemimager/images/oscarimage/usr/lib64/libcairo.so.2.9.2
>  
> Seemingly I have installed cairo library.
>  
> thanks,
> -----------------------------------------------------------------------------
> Lijun Diao
> ldiao at uh.edu
> Research Assistant
> Department of Earth & Atmospheric Sciences
> University of Houston
> 4800 Calhoun RD., Bldg. S&R1-312
> Houston, TX 77204-5007
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install



More information about the ncl-install mailing list