[ncl-install] ncargex cpex08 -clean post-install test fails
Pankratz,Al [Edm]
Al.Pankratz at ec.gc.ca
Tue Dec 2 09:42:15 MST 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20141202/3edda768/attachment.html
More information about the ncl-install
mailing list