error: cannot find -lXpm. But libXpm is in /usr/lib

From: brick <brickflying_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 17 2010 - 21:28:07 MDT

Hi
When I compiler ncl with icc and ifort, it always appear the error: "cannot
find -lXpm". Such like:

ifort -O2 -o tdpackdemo TdpackDemo.o
-L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lpng -lz
 -L/mnt/home/xqiu/Program/IntelCompiled/Ncl_ncarg-5.1.1/lib -L/usr/lib
-L/usr/lib/X11 -L/mnt/home/xqiu/Program/IntelCompiled/lib -lXpm -lX11
-lXext
ld: cannot find -lXpm

But the libXpm is in /usr/lib
/usr/lib/libXpm.so.4
/usr/lib/libXpm.so.4.11.0

I don't know why it can't be found by the compiler? Does anyone know it?
Thanks!

brick

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 17 21:28:14 2010

This archive was generated by hypermail 2.1.8 : Fri Mar 19 2010 - 16:19:08 MDT