Producing a staticly-linked package from ports
rrichard at blythe-systems.com
Fri Nov 30 05:18:18 PST 2007
On Thu, 29 Nov 2007 17:21:03 -0500
Mikel King <mikel.king at olivent.com> wrote:
> Although I know this can be done, I am not certain of the exact
Looks like this can NOT be done. I asked the author of claws-mail, and
received this response.
From: Colin Leroy <colin at colino.net>
To: claws-mail-users at dotsrc.org
Cc: rrichard at blythe-systems.com
Subject: Re: statically-linked version of CM
Date: Fri, 30 Nov 2007 13:15:52 +0100
X-Mailer: Claws Mail 3.1.0cvs44 (GTK+ 2.12.0; i686-pc-linux-gnu)
On 30 November 2007 at 11h11, Bob Richards wrote:
> I compiled claws-mail 3.0.2 with make CFLAGS="$CFLAGS -static", but
> when I moved the executable to the older install and tried to execute
> it I get: /libexec/ld-elf.so.1: Shared object "libgailutil.so.18" not
> found, required by "claws-mail"
> What is the proper way to produce a statically compiled claws-mail?
I don't know... I think the problem is that libgtk uses dlopen() to open
modules, so you can't really statically link a GTK app...
So, at least in the case of claws-mail, this does not appear to be
possible. Unless someone here has something else to try?
// \\ The ASCII
\\ // Ribbon Campaign
\V/ Against HTML
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071130/b6aed975/signature.pgp
More information about the freebsd-questions