In an effort to re-organize the ImageMagick source tree, I have moved
many files which are part of the ImageMagick library
(libMagick.[a|so]) to a seperate directory. I then build these files
into a convenience library, and link against the convenience library
when creating libMagick. This works great when all the libraries
libMagick depends on are installed shared libraries, but if the
libraries are static libraries built by libtool (which reside in
another package's directory), then duplicate symbol conflicts are
experienced when using libtool to link programs based on libMagick.
In the documentation for CVS libtool 1.3c, section "Linking static
libraries", there is a description of how to do this: "But be careful
not to link a single convenience library, directly or indirectly, into
a single program or library, otherwise you may get errors about symbol
redefinitions.". I do not understand this sentance.
The linkage of the dependent programs depends entirely on libtool's
library dependency mechanism. No libraries are specified at all when
the programs are linked. I am expecting that the final libMagick
product will be the same as before.
Help!
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen