[ncl-install] ncargex cpex08 -clean post-install test fails
Mary Haley
haley at ucar.edu
Tue Dec 2 16:20:38 MST 2014
Al,
This sounds like an issue with the way your libraries are either installed,
or maybe the directory path is not quite right.
Use the "locate" command to search for the required libraries, for example:
locate libXext
locate libbz2
etc.
Also visit this link and read about how to install some of these external
packages.
http://www.ncl.ucar.edu/Download/linux.shtml#InstallSoftware
--Mary
On Tue, Dec 2, 2014 at 9:42 AM, Pankratz,Al [Edm] <Al.Pankratz at ec.gc.ca>
wrote:
> Hi,
>
>
>
> I have downloaded a precompiled NCL binary
> (ncl_ncarg-6.2.1.Linux_Debian6.0_x86_64_nodap_gcc445.tar.gz) and am
> attempting to install it on Ubuntu 12.04 LTS.
>
>
>
> The NCL post-install test worked fine, but I am having difficulty getting
> the NCAR graphics test (ncargex cpex08 –clean) to work (see below). I have
> changed the syslibdir variable in ncargf77 to ‘set syslibdir =
> "-L/usr/lib/x86_64-linux-gnu"’ which is the location of at least some of
> the supposedly missing libraries, but even though this change appears in
> the gfortran compile string, the test still fails. Perhaps the ld command
> is not aware of this changed setting?
>
>
>
> Any suggestions would be appreciated.
>
>
>
> Regards,
>
>
>
> Al
>
>
>
>
>
>
>
> ********@********:~/tmp$ ncargex cpex08 -clean
>
>
>
> NCAR Graphics Fortran Example <cpex08>
>
>
>
> Copying cpex08.f
>
>
>
> Copying cpexcc.f
>
>
>
> Compiling and linking...
>
> gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o
> cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-6.2.1/lib
> -L/usr/lib/x86_64-linux-gnu -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
> -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread
> -lbz2 -lXrender
>
> /usr/bin/ld: cannot find -lXext
>
> /usr/bin/ld: cannot find -lcairo
>
> /usr/bin/ld: cannot find -lfontconfig
>
> /usr/bin/ld: cannot find -lpixman-1
>
> /usr/bin/ld: cannot find -lfreetype
>
> /usr/bin/ld: cannot find -lexpat
>
> /usr/bin/ld: cannot find -lpng
>
> /usr/bin/ld: cannot find -lz
>
> collect2: ld returned 1 exit status
>
>
>
> The compile and link failed.
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20141202/2f54b984/attachment.html
More information about the ncl-install
mailing list