[ncl-install] could not build NCL

sangeeta maharjan sangeetamaharjan at gmail.com
Thu Feb 6 23:49:08 MST 2014


Hi,
Thanks for your kind reply. In my machine,
locate libXext
/usr/lib64/libXext.so.6
/usr/lib64/libXext.so.6.4.0

Andy, where should I change  "-L/usr/X11R6/lib64" to "-L/usr/lib64" ? No idea.

Also, rpm -q libXext   returned
libXext-1.1-3.el6.x86_64

Regards,
Sangeeta Maharjan.




On 2/6/14, Daniel Packman <pack at ucar.edu> wrote:
>
> On Feb 6, 2014, at 12:47 AM, sangeeta maharjan <sangeetamaharjan at gmail.com>
> wrote:
>
>> Hi
>> I tried for ncl_ncarg-6.1.2.Linux_RHEL6.2_x86_64_nodap_gcc446.tar.gz .
>> The command     ng4ex gsun01n -clean worked but     ncargex cpex08
>> -clean does not.
>>
>> 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/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c
>> -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng
>> -lz -lpthread -lbz2 -lXrender
> ===============
>> /usr/bin/ld: cannot find -lXext
> ==================
>> collect2: ld returned 1 exit status
>>
>> The compile and link failed.
>>
>> Need help to execute the command.
>
> Do you have libXext installed?
> rpm -q libXext   might return two lines like this:
>
> libXext-1.3.1-2.el6.i686
> libXext-1.3.1-2.el6.x86_64
>
> If it only returns the first line, you don't the
> 64 bit library installed.
>
>


More information about the ncl-install mailing list