Both problems can be solved by simply writing the version scripts so
that only a version tag is mentioned in each:
libpng2.ver:
LIBPNG_2.0 {global: png_*);
libpng3.ver:
LIBPNG_3.0 {global: png_*);
However, we'll still get a warning message if versioned binaries are
used with unversioned libraries.
BTW, libraries that use one the conflicting ones must be compiled with
-fPIC, but that should already happen.
Attachment:
signature.asc
Description: This is a digitally signed message part