[ncl-install] Library problem - a script in NCL
negin.f.moghaddam at gmail.com
negin.f.moghaddam at gmail.com
Thu Jul 16 14:42:58 MDT 2015
Hi Orion,
Thank you for your response
My OS is RedHat and as I mentioned the libXext-devel was already installed.
Regards
Negin
Sent from my iPhone
> On 17 Jul 2015, at 2:24 am, Orion Poplawski <orion at cora.nwra.com> wrote:
>
>> On 07/15/2015 10:07 PM, Negin Moghaddam wrote:
>> Dear NCL group,
>>
>> I have a problem with running script which is written in NCL/NCAR
>>
>> As you can see I tried to run this script but I had an error with the
>> libraries. I have already got the X11 and Xext on my PC and I dont know where
>> the problem is and how to fix it.
>>
>> Thank you for your response and help
>> Negin
>>
>> [negin@ Modelling]$ ncargf77 -o plot_points.x plot_points.f
>> /usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o
>> plot_points.x plot_points.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/bin/ld: cannot find -lXext
>> collect2: ld returned 1 exit status
>>
>> The IT told me to reconfigure ncargf77 but I dont know how to do that?
>
> It would help if you indicated what OS you were running. But you need the
> libXext development package installed. On RHEL/CentOS/Fedora this is
> libXext-devel.
>
>
> --
> Orion Poplawski
> Technical Manager 303-415-9701 x222
> NWRA, Boulder/CoRA Office FAX: 303-415-9702
> 3380 Mitchell Lane orion at nwra.com
> Boulder, CO 80301 http://www.nwra.com
More information about the ncl-install
mailing list