[ncl-install] could not build NCL

Orion Poplawski orion at cora.nwra.com
Sun Feb 9 18:11:37 MST 2014


On 02/08/2014 11:39 PM, sangeeta maharjan wrote:
> Hi,
> Thanks Mary for your kind mail. I executed the command but again no
> successful compile. As per Orion Poplawski, I did yum install
> libXext-devel then ->ncargex cpex08 -clean
> 
> NCAR Graphics Fortran  Example <cpex08>
>   Copying cpex08.f
>   Copying cpexcc.f
> Compiling and linking...
> gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f
> -L/usr/local/NCL/lib -L/usr/lib64 -lncarg -lncarg_gks -lncarg_c -lX11
> -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz
> -lpthread -lbz2 -lXrender
> /usr/bin/ld: cannot find -lbz2
> collect2: ld returned 1 exit status
> 
> The compile and link failed.
> 
> As, the compile suggested  -lbz2 cannot be found so which pacakages
> contains the corresponding libraries? (yum install ...............)

yum install bzip2-devel

(see the pattern :)


-- 
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