[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hpux linking shared library with static library
From: |
Bob Friesenhahn |
Subject: |
Re: hpux linking shared library with static library |
Date: |
Wed, 14 Jul 2010 14:21:03 -0500 (CDT) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Wed, 14 Jul 2010, Alon Bar-Lev wrote:
Thank you!
But I do link the static library as PIC.
Even if the static library is PIC, and the OS is happy to load and run
the result, there is a common problem with this approach since if more
than one shared library is linked with the static library, and these
two shared libraries are used in the same program, there are likely to
be duplicate symbol conficts or semi-random operation. The problem
becomes worse if multiple versions of the static library were used.
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/