Re: Producing a staticly-linked package from ports
- From: Bob Richards <rrichard@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 13:17:26 +0000
On Thu, 29 Nov 2007 17:21:03 -0500
Mikel King <mikel.king@xxxxxxxxxxx> wrote:
Although I know this can be done, I am not certain of the exact
procedure.
Looks like this can NOT be done. I asked the author of claws-mail, and
received this response.
===================
From: Colin Leroy <colin@xxxxxxxxxx>
To: claws-mail-users@xxxxxxxxxx
Cc: rrichard@xxxxxxxxxxxxxxxxxx
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:
Hi,
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...
--
Colin
==========================
So, at least in the case of claws-mail, this does not appear to be
possible. Unless someone here has something else to try?
Bob
--
_
/o\
// \\ The ASCII
\\ // Ribbon Campaign
\V/ Against HTML
/A\ eMail!
// \\
Attachment:
signature.asc
Description: PGP signature
- Prev by Date: Re: who wrote this
- Next by Date: Re: Secure remote shell
- Previous by thread: Producing a staticly-linked package from ports
- Next by thread: Re: Broadcom - complete version
- Index(es):