<div dir="ltr">Hello Orion, <div><br></div><div>I installed all the following missing libraries but I got another error which I think relates to cairo. </div><div><br></div><div>Could you please help me to solve this issue. Thank you.</div><div><br></div><div>libraries installed:</div><div><br></div><div>libX11-devel</div><div>libX11</div><div>libXt</div><div>libXext-devel</div><div>cairo-devel</div><div>libpng</div><div>expat-devel</div><div>bzip2-devel</div><div><br></div><div>The error is: </div><div><br></div><div><div>[neginm@civ-1215x ~]$ <font color="#9900ff">ncargex cpex08 -clean</font></div><div><br></div><div>NCAR Graphics Fortran Example <cpex08></div><div><br></div><div> Copying cpex08.f</div><div><br></div><div> Copying cpexcc.f</div><div><br></div><div>Compiling and linking...</div><div>/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</div><div>/usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':</div><div>cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'</div><div>/usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':</div><div><font color="#9900ff">cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'</font></div><div>collect2: ld returned 1 exit status</div><div><br></div><div>The compile and link failed.</div><div><br></div><div>I even tried this based on the website :</div><div><br></div><div><div>[neginm@civ-1215x ~]$ <font color="#9900ff">sudo yum install libcairo-devel</font></div><div>[sudo] password for neginm: </div><div>Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,</div><div> : subscription-manager</div><div>This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.</div><div>This system is receiving updates from RHN Classic or RHN Satellite.</div><div>Setting up Install Process</div><div>No package libcairo-devel available.</div><div>Error: Nothing to do</div><div><br></div></div><div><br></div><div style="">Thank you.</div><div style=""><br></div><div style="">Negin </div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 9:36 AM, Negin Moghaddam <span dir="ltr"><<a href="mailto:negin.f.moghaddam@gmail.com" target="_blank">negin.f.moghaddam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Orion, <div><br></div><div>Thank you. I will to install that package. <div><br></div><div>Best Regards</div><div>Negin</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 17, 2015 at 7:29 AM, Orion Poplawski <span dir="ltr"><<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><span>On 07/16/2015 02:42 PM, <a href="mailto:negin.f.moghaddam@gmail.com" target="_blank">negin.f.moghaddam@gmail.com</a> wrote:<br>
> Hi Orion,<br>
> Thank you for your response<br>
> My OS is RedHat and as I mentioned the libXext-devel was already installed.<br>
<br>
</span>I believe you mentioned libXext being installed, but not libXext-devel. It's<br>
clearly what is missing.<br>
</span><div><div><span class=""><br>
><br>
> Regards<br>
> Negin<br>
><br>
> Sent from my iPhone<br>
><br></span><span class="">
>> On 17 Jul 2015, at 2:24 am, Orion Poplawski <<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>> wrote:<br>
>><br>
>>> On 07/15/2015 10:07 PM, Negin Moghaddam wrote:<br>
>>> Dear NCL group,<br>
>>><br>
>>> I have a problem with running script which is written in NCL/NCAR<br>
>>><br>
>>> As you can see I tried to run this script but I had an error with the<br>
>>> libraries. I have already got the X11 and Xext on my PC and I dont know where<br>
>>> the problem is and how to fix it.<br>
>>><br>
>>> Thank you for your response and help<br>
>>> Negin<br>
>>><br>
>>> [negin@ Modelling]$ ncargf77 -o plot_points.x plot_points.f<br>
>>> /usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o<br>
>>> plot_points.x plot_points.f -L/usr/local/ncl-6.3.0/lib -L/usr/X11R6/lib64<br>
>>> -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1<br>
>>> -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2<br>
>>> /usr/bin/ld: cannot find -lXext<br>
>>> collect2: ld returned 1 exit status<br>
>>><br>
>>> The IT told me to reconfigure ncargf77 but I dont know how to do that?<br>
>><br>
>> It would help if you indicated what OS you were running. But you need the<br>
>> libXext development package installed. On RHEL/CentOS/Fedora this is<br>
>> libXext-devel.<br>
>><br>
>><br>
>> --<br>
>> Orion Poplawski<br></span>
>> Technical Manager <a href="tel:303-415-9701%20x222" value="+13034159701" target="_blank">303-415-9701 x222</a><br>
>> NWRA, Boulder/CoRA Office FAX: <a href="tel:303-415-9702" value="+13034159702" target="_blank">303-415-9702</a><br>
>> 3380 Mitchell Lane <a href="mailto:orion@nwra.com" target="_blank">orion@nwra.com</a><br>
>> Boulder, CO 80301 <a href="http://www.nwra.com" rel="noreferrer" target="_blank">http://www.nwra.com</a><br>
<br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
Orion Poplawski<br>
Technical Manager <a href="tel:303-415-9701%20x222" value="+13034159701" target="_blank">303-415-9701 x222</a><br>
NWRA, Boulder/CoRA Office FAX: <a href="tel:303-415-9702" value="+13034159702" target="_blank">303-415-9702</a><br>
3380 Mitchell Lane <a href="mailto:orion@nwra.com" target="_blank">orion@nwra.com</a><br>
Boulder, CO 80301 <a href="http://www.nwra.com" rel="noreferrer" target="_blank">http://www.nwra.com</a><br>
</font></span></div></div></blockquote></div><br></div>
</blockquote></div><br></div>