Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2013 16:20:47 -0400
From:      "Mikhail T." <mi+thun@aldan.algebra.com>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, knu@idaemons.org
Cc:        office@freebsd.org
Subject:   portupgrade and ICU libraries
Message-ID:  <518D569F.50404@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Gentlemen!

Every time I do an upgrade, I get bitten by the same problem -- all of the 
software linked with libraries installed by devel/icu stops working.

Today I finally understood why... Although portupgrade duly backs up the old 
libraries under lib/compat/pkg, it only preserves the files (such as 
libicutu.so.48.1.1), and not the symbolic links (such as libicutu.so.48).

The proper fix for this problem should include both:

 1. portupgrade should ensure, the library.so./VERSION/ continues to exist --
    even when that in itself is a symlink
 2. icu port should install library.so./VERSION/ as the file -- rather than a
    symlink to library.so./VERSION/./MINOR/./MICRO/, as it currently does

Even if the icu-maintainers (CC-ed) change the icu port do comply with the 2., 
there may still be other ports, that are not so compliant, so portupgrade needs 
to implement 1. anyway...

Yours,

    -mi




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