[PyKDE] Re: PyQt as a statically compiled shared library...

Dan Sommers dan at tombstonezero.net
Tue Jun 14 15:40:41 BST 2005


On Tue, 14 Jun 2005 15:58:10 +0200,
"Truls A. Tangstad" <kerfue+pykde at herocamp.org> wrote:

> On Tue, Jun 14, 2005 at 10:43:25AM -0300, Jorge Godoy wrote:

> > "Truls A. Tangstad" <kerfue+pykde at herocamp.org> writes:

> > > My though (which might be naïve) is to compile statically linked
> > > binaries of the libraries/programs we directly depend on and then
> > > provide them together with our software, modifying
> > > LD_LIBRARY_PATH/PYTHONPATH on startup. Is it possible to create a
> > > qt.so (with friends) that is statically linked against all its
> > > dependencies, or is it a nightmare of manual labour?

> > This is a bad approach, IMHO.  It wastes a lot of resources since
> > the system won't be able to share already loaded libraries.  Besides
> > that, the size of your programs will also get very big, making it
> > harder to download...

> Yes, I know the tradeoffs, but the most important thing is having an
> easy install that works for all systems.

Does "all systems" include non-x86 hardware, too?  That's an awful lot
of binaries to maintain!

I'd stick with letting the existing package managers do the hard work.

Regards,
Dan

-- 
Dan Sommers
<mailto:dan at tombstonezero.net>
<http://www.tombstonezero.net/dan/>




More information about the PyQt mailing list