On Mon, Jan 02, 2006 at 08:46:26AM -0600, Daniel May wrote:
> Why is it generally a bad idea to link APR statically into a shared
> library ? What is the preferred method ? With the static method, I can
> precisely control the version of APR that my library uses. The only
> downside I see is my library is larger and my library footprint is
> larger. This is an acceptable tradeoff in my environment.
Say your library libfoo statically links APR and some other library
libbar statically links APR; if some poor program links against both
libfoo and libbar you're likely to get "interesting" results if the
versions of APR in use don't match.
joe
|