From: Rafael L. <lab...@ps...> - 2003-03-14 19:47:40
|
* Quentin Noirhomme <no...@te...> [2003-03-14 19:56]: > Hi, > > I try to install plplot on linux/debian/woody computer. I use the command > apt-get install plplot-dev to install plplot. It works fine with tcl-tk > but when I want to use it from C I couldn't link the lybraries. > > I use the following command > > view: viewEEg.c plplot.h > gcc -g -Wall viewEEg.c \ > -I/usr/include \ > -L/usr/lib -lplplotd -lplmatrix -ltk8.3 \ > -ltcl8.3 -L/usr/X11R6/lib -lX11 -lvga -ldl -lm -lg2c -Wl,--rpath \ > -Wl,/usr/lib -o view > > /usr/bin/ld: cannot find -lplplotd > collect2: ld returned 1 exit status > make: *** [view] Error 1 > > > I tried other name like plplot but it never works. Furthermore, I looked > at my disk and I couldn't file any libplplot.a or libplplotd.a files. > > Somebody could tell me which are the links or the mistake I am doing ? apt-get install libplplot-dev (This is starting to become a FAQ...) -- Rafael |