Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 15:20:22 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        office@FreeBSD.org
Subject:   Re: Why does "devel/icu" install static libraries with different names?
Message-ID:  <20120914132022.GD68582@ithaqua.etoilebsd.net>
In-Reply-To: <137213157.20120914170551@serebryakov.spb.ru>
References:  <137213157.20120914170551@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--rz+pwK2yUstbofK6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 14, 2012 at 05:05:51PM +0400, Lev Serebryakov wrote:
> Hello, Office.
>=20
>   I have a problem here: my `devel/subversion' port has option to be
>  built static. It uses (via subversion native build system)
>  "/usr/local/lib/libsqlite3.la" to link with sqlite3 (which is
>  mandatory dependency).
>=20
>   When sqlit3 is built with ICU support, this file contains
> "-licui18n" as used library. Which is Ok for dynamic linkage.
>=20
>   But static linkage fails, because name of static library is not
>  "libicui18n.a" but "libsicui18n.a" :(
>=20
>   Why does ICU install static libraries under different names and how
>  should I fix this?
>=20
> --=20
> // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
>=20
> _______________________________________________
> freebsd-office@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe@freebsd.org"

Because it is the way upstream provides them, icu is quite fragile so I don=
't
know how to fix this without
a) breaking anything that depends on static building with icu
b) respecting upstream.

btw building static subversion with icu will be quite complicated until we =
fix
this: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/154086

Which so far I failed at

My recommandation is to just remove sqlite's icu option for the static buil=
ding,
given that the use case of icu is sqlite, is very rare.

If you want to join the office team to fix icu feel free :D

regards,
Bapt

--rz+pwK2yUstbofK6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBTLxYACgkQ8kTtMUmk6EwcuwCfebgxbGLU917jxCXx5gRBtVCW
wosAnjUoHmSepS+U8cIpZMo2WGnFuxFV
=qqGc
-----END PGP SIGNATURE-----

--rz+pwK2yUstbofK6--



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