Re: NCARG libraries unable to locate cairo functions

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 20 2013 - 11:03:17 MST

Dear Tan,

It may be that your cairo library doesn't contain the required symbols.

What does the following report:

   which libcairo
  nm /usr/lib/libcairo.a | grep cairo_move_to

If you have /usr/lib/libcairo.so and not /usr/lib/libcairo.a, then:

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

You can try installing your own copy of cairo, if it appears that your system one is not complete. Try using your Linux package installer and get "libcairo-devel".
You might also need "libpixman-devel", "libfontconfig-devel" if "libcairo-devel" doesn't seem to give you everything.

--Mary

  
On Nov 19, 2013, at 7:09 PM, Tan Li <crstanl@nus.edu.sg> wrote:

> Hi,
>
> I am compiling the Weather Research and Forecasting (WRF) Model and I installed the latest version of NCL as needed by the WRF model.
>
> As I am compiling one section of the WRF Model called the WRF Preprocessing System (WPS), the following error occurs. There is a large number of them so only a few are listed in the mail. I have also attached the entire compile log which contains all of the errors.
>
> /usr/local/ncl-6.1.2/lib/libncarg_gks.a(cro.o): In function `cro_SoftFill':
> cro.c:(.text+0x107c): undefined reference to `cairo_move_to'
> cro.c:(.text+0x10af): undefined reference to `cairo_line_to'
> cro.c:(.text+0x10ba): undefined reference to `cairo_stroke'
> etc.
>
> It seems that the NCARG libraries is unable to locate cairo functions even though they are already installed under directory /usr/lib.
>
> I am using 32 bit Ubuntu 12.04 LTS and the WPS program is compiled with gfortran.
>
> Has anyone encountered similar problems like this? I would appreciate any help regarding this issue.
>
> Thanks,
> Tan<mylog>_______________________________________________
> ncarg-talk mailing list
> ncarg-talk@ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk

_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Wed Nov 20 11:03:24 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 11:42:50 MST