Converting from .a to .so

Horst H. von Brand vonbrand at inf.utfsm.cl
Mon Dec 25 23:53:28 UTC 2006


Paul <paul at all-the-johnsons.co.uk> wrote:
> The future versions of anjuta look like they're going to rely on using
> netCDF which I have just about packaged. The problem is that it uses
> static libs rather than shared ones.

Too bad.

> Is there a safe way in the spec file to convert between a static and
> shared lib so I can submit it (and feed back the need for shared
> upstream) or so I need to mess with the makefile?

Nope.

A shared library /has/ to be position independent code (at least if it is
to make some sense having it shared), a static library normally isn't.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513




More information about the fedora-extras-list mailing list