Re: could not build NCL

From: Orion Poplawski <orion_at_nyahnyahspammersnyahnyah>
Date: Sun Feb 09 2014 - 18:11:37 MST

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@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com
Received on Sun Feb 9 18:11:46 2014

This archive was generated by hypermail 2.1.8 : Mon Mar 03 2014 - 14:27:43 MST