Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 13:17:26 +0000
From:      Bob Richards <rrichard@blythe-systems.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Producing a staticly-linked package from ports
Message-ID:  <20071130131726.409b8456@tania.servebbs.org>
In-Reply-To: <474F3B4F.9060907@olivent.com>
References:  <474F3B4F.9060907@olivent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/ld=HnYP8v9L7=pqUWge.lKk
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Thu, 29 Nov 2007 17:21:03 -0500
Mikel King <mikel.king@olivent.com> wrote:

>     Although I know this can be done, I am not certain of the exact=20
> procedure.

Looks like this can NOT be done. I asked the author of claws-mail, and
received this response.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

From: Colin Leroy <colin@colino.net>
To: claws-mail-users@dotsrc.org
Cc: rrichard@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:

Hi,=20

> I compiled claws-mail 3.0.2 with make CFLAGS=3D"$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"
>=20
> What is the proper way to produce a statically compiled claws-mail? =20

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...

--=20
Colin


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D

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

--=20
  _
 /o\
// \\ The ASCII
\\ // Ribbon Campaign
 \V/  Against HTML
 /A\  eMail!
// \\

--Sig_/ld=HnYP8v9L7=pqUWge.lKk
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHUA1vCiULygfUvEMRAsIaAJ9HY0C/5xaRKD/QmhlWpRajrGm8/ACfewH3
2wQHVnvqJqXbtsfs6ZNIzpE=
=P1/2
-----END PGP SIGNATURE-----

--Sig_/ld=HnYP8v9L7=pqUWge.lKk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071130131726.409b8456>