[ncl-install] ncarg-6.1.0-beta link problem - redhat 64-bit - gfortran 4.7

Leon Benjamin leon.a.benjamin at noaa.gov
Tue Jun 12 12:12:37 MDT 2012


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 `cairo_clip_extents'
>> /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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20120612/bbe8c100/attachment.html 


More information about the ncl-install mailing list