-static packages

Richard W.M. Jones rjones at redhat.com
Thu Sep 16 20:36:18 UTC 2010


On Thu, Sep 16, 2010 at 06:32:20PM +0200, Miloslav Trmač wrote:
> Richard W.M. Jones píše v Čt 16. 09. 2010 v 17:19 +0100: 
> > There are times when static linking is a useful.  Robert clearly
> > describes one in his original post.
> Static libraries solve the "unprivileged user" problem only in a limited
> set of cases.
> 
> As soon as any of the libraries needs additional files (e.g. glade UI
> files in /usr/share/mylibrary/*), static linking doesn't help.
> 
> The only general solution for these cases is to recompile the software
> with --prefix inside the user's home directory.

It's not just that.  Debian, for example, has most of the libraries
that my software needs, but they use different sonames (eg.
libpcre.so.0 vs libpcre.so.3).  The other libraries like hivex don't
use any external files.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora


More information about the devel mailing list