[ncl-install] cannot find -lX11
wyzhj0920
wyzhj0920 at 163.com
Fri Jul 24 05:03:20 MDT 2009
hi,I have installed ncl5.1.1. My operation system is ubuntu 8.1. The version of nclis ncl_ncarg-5.1.1.Linux_i686_gcc432.tar.gz. The infomations of my compier are:
1. Intel(R) Fortran Compiler 10.1 for Linux*
2. Intel(R) C++ Compiler 10.1 for Linux*
3. GNU Fortran (Ubuntu 4.3.2-1ubuntu12) 4.3.2
I refer to the doucument of http://www.ncl.ucar.edu/Download/install.shtml. After I installed the ncl, these commands is normal.
1. ng4ex gsun01n
2. ncl gsun01n.ncl
but I executing this command (ncargex cpex08) gives the below error.
=====================================================================
Compiling and linking...
gfortran -fPIC -fno-second-underscore -fno-range-check -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
The compile and link failed.
======================================================================
So what's the problem? and what should I do??
Many thanks....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20090724/7cc7dc26/attachment.html
More information about the ncl-install
mailing list