I'm installing lenstool which needs pgplot library so I got the source codes and followed this to install it I also ran one of it examples and it seemed to work. But when I try to make lenstool it returns this error:
/usr/bin/ld: cannot find -lpgplot collect2: ld returned 1 exit status make: *** [Histogram] Error 1 make: Leaving directory `/home/soroosh/soroosh/darkmatter/lenstool/lenstool_v6.7.1/utils' make: *** [all-recursive] Error 1
ubuntu 12.04 lts 64 bit. and I have installed pgplot in:
Is this a linking problem? Please help me with this. tell me if other specifications are needed.