From: Alan W. I. <ai...@us...> - 2003-10-16 22:21:44
|
On 2003-10-16 15:43-0500 Herng-Jeng Jou wrote: > Hi Alan, > Thanks for the useful explanation. > I did what you explained with the CVS 20031004 by: > $ ./configure --prefix=/usr/local/plplot_at --disable-dyndrivers > --with-double > $ make > $ su > # make install > # exit > $ cd example/c++ > $ /usr/local/plplot_at/bin/plplot_libtool --mode=link g++ -all-static > x01.cc \ > -I/usr/local/plplot_at/include/plplot -L/usr/local/plplot_at/lib \ > -lplplotcxxd -o x01 -ldl > on my system, it complaints that -ltk8.3 cannot be found. I think it is > because > I only have /usr/lib/libtk8.3.so, no .a in it. > Jou That kills your dream of having an all-static result for your present system. But if your system is Linux (I have forgotten) it is a simple matter to install the static versions of all libraries. They are usually in the development rpm. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |