[Pkg-ime-devel] Re: Bug#250297: libm17n-0: looks for libmimx-*.so rather than .so.0

Hidetaka Iwai tyuyu@debian.or.jp
Sat, 22 May 2004 14:22:29 +0900 (JST)


----Security_Multipart(Sat_May_22_14_22_31_2004_691)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello, world.

"Aaron M. Ucko" <ucko@debian.org> wrote:
Message-ID: <E1BRHAk-0003eo-0H@tux.internal.ucko.debian.net>

> Package: libm17n-0
> Version: 1.0.2-1
> Severity: important
> 
> When input methods request extension libraries such as mimx-ispell,
> libm17n-0 tries to load libmimx-ispell.so (etc.) with no version.  It
> should instead try to load libmimx-ispell.so.0 (etc.), since the .so
> symlink is only available if libm17n-dev is installed, and may not be
> for the appropriate ABI anyway.  (If I have both libm17n-0 and a
> future libm17n-1, they almost certainly won't be able to use the same
> libmimx-ispell.so.)

This problem seems to be similar with the problem between anthy and
uim.  The easiest (and dirtiest) solution is define DLOPEN_SHLIB_EXT
as ".so.$(LIBRARY_MAJORVERSION)" instead of ".so", but this approach
can't handle external libraries provided as another package with
another library version.

If you have any idea, please tell me.

regards,
--
 Hidetaka Iwai
 tyuyu@debian.or.jp

----Security_Multipart(Sat_May_22_14_22_31_2004_691)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAruOdP0opW96p7GsRAn97AKDXm7uH1r9J9uBeGDJ7KK1wWJBk2gCeJSb/
4pv4S0+h4pKS0A+xvBkGfTo=
=F03m
-----END PGP SIGNATURE-----

----Security_Multipart(Sat_May_22_14_22_31_2004_691)----