[ncl-install] ncarg-6.1.0-beta link problem - redhat 64-bit - gfortran 4.7
Mary Haley
haley at ucar.edu
Tue Jun 12 13:31:06 MDT 2012
Hi Leon,
What version of cairo are you linking against? I've never seen this error message before, so I'm not sure if it is a version issue. I did google this message, and one of the matches did come up and say it could be a version issue. We recommend linking against cairo V1.10.2 or later. For information about building cairo yourself, see:
http://www.ncl.ucar.edu/Download/build_from_src.shtml#cairo
--Mary
On Jun 12, 2012, at 12:12 PM, Leon Benjamin wrote:
> I'm trying to link on redhat 64bit using the ncarg-6.1.0-beta binaries wiht gfortran 4.7 and I get a undefined reference to cairo_clip_extents and cairo_pattern_get_rgba. I'm wondering what libs I need to include?
>
> -- Thanks, Leon
>
>
> On Mon, Jun 11, 2012 at 9:10 PM, Leon Benjamin <leon.a.benjamin at noaa.gov> wrote:
> Hi,
>
> What libs are I'm missing. I'm on a 64-bit redhat machine using gfortran 4.7.
> I'm using the binaries for ncarg-6.1.0-beta
>
> -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lXrender -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lbz2 -lpthread
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `GetCROClipping':
> cro.c:(.text+0x12df): undefined reference to `
> '
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `CROpict_init':
> cro.c:(.text+0x1427): undefined reference to `cairo_clip_extents'
> /usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_Cellarray':
> cro.c:(.text+0x59ea): undefined reference to `cairo_pattern_get_rgba'
> collect2: error: ld returned 1 exit status
>
> -- Thanks, Leon
>
>
>
> _______________________________________________
> 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