Why does "devel/icu" install static libraries with different names?

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 14 13:20:26 UTC 2012


On Fri, Sep 14, 2012 at 05:05:51PM +0400, Lev Serebryakov wrote:
> Hello, Office.
> 
>   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).
> 
>   When sqlit3 is built with ICU support, this file contains
> "-licui18n" as used library. Which is Ok for dynamic linkage.
> 
>   But static linkage fails, because name of static library is not
>  "libicui18n.a" but "libsicui18n.a" :(
> 
>   Why does ICU install static libraries under different names and how
>  should I fix this?
> 
> -- 
> // Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
> 
> _______________________________________________
> freebsd-office at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe at 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=ports/154086

Which so far I failed at

My recommandation is to just remove sqlite's icu option for the static building,
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-office/attachments/20120914/a47ff650/attachment.pgp


More information about the freebsd-office mailing list