On Thu, 11 Jul 2002, Visser, Martin (Sydney) wrote: > I haven't seen a reply for this yet, so I thought I'd give it a go.
You must have missed mine. > Not having my linux box up at the mo' but I think you will find that the > .so files are just the "runtime" libraries dynamically linked. You need to > have the development versions of both X11 and pgplot libraries which will > be .a. No, .a is the object archive - a static library. Code from those gets incorporated directly into the finished binary, meaning that a library upgrade requires a recompile, and if you have several programs with the same library code you'll (effectively) a copy of the library for every program. In short, you don't want to use them in the general case. Debugging and statically linked rescue programs are the special case. > If you are building a standard package, normally running Finding a standard package is the hard part. GNU autoconf is close, but is unweildy and an overhead which most academic programmers (which I think was who produced this monstrosity) aren't willing to tolerate. > "configure" will tell you that you don't have the required libraries. > >From memory the Makefile will define an environment variable (or add -L > flag????) as to where to get the libraries during linking. The -L flag is the one which specifies an additional directory to look for linker stubs. -- ----------------------------------------------------------------------- #include <disclaimer.h> Matthew Palmer, Geek In Residence http://ieee.uow.edu.au/~mjp16 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
