[ncl-install] Library problem - a script in NCL
Orion Poplawski
orion at cora.nwra.com
Thu Jul 16 20:26:20 MDT 2015
On 07/16/2015 07:19 PM, Negin Moghaddam wrote:
> Hello Orion,
>
> I installed all the following missing libraries but I got another error
> which I think relates to cairo.
>
> Could you please help me to solve this issue. Thank you.
>
> libraries installed:
>
> libX11-devel
> libX11
> libXt
> libXext-devel
> cairo-devel
> libpng
> expat-devel
> bzip2-devel
>
> The error is:
>
> [neginm at civ-1215x ~]$ ncargex cpex08 -clean
>
> NCAR Graphics Fortran Example <cpex08>
>
> Copying cpex08.f
>
> Copying cpexcc.f
>
> Compiling and linking...
> /usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp
> -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-6.3.0/lib
> -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo
> -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender
> -lbz2
> /usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function
> `cro_OpenWorkstation':
> cro.c:(.text+0x3efd): undefined reference to
> `cairo_recording_surface_create'
> /usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function
> `cro_ClearWorkstation':
> cro.c:(.text+0x4be5): undefined reference to
> `cairo_recording_surface_create'
> collect2: ld returned 1 exit status
>
> The compile and link failed.
Looks like other's have run into this. See:
http://mailman.ucar.edu/pipermail/ncl-install/2015-March/001747.html
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion at cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
More information about the ncl-install
mailing list