[Pkg-ime-devel] Bug#650272: ibus-googlepinyin: uses dpkg-architecture at run-time

Colin Watson cjwatson at ubuntu.com
Mon Nov 28 12:48:23 UTC 2011

Package: ibus-googlepinyin
Version: 0.1.1-2
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise

#646958 was fixed by running 'dpkg-architecture -qDEB_HOST_MULTIARCH' at
run-time to find the multiarch library path.  However, dpkg-architecture
is in dpkg-dev; you shouldn't be using it at run-time in non-development

Right now, there's no good way to get the multiarch path at run-time.
Your choices are probably: (1) find the path to libgooglepinyin somehow
and build the dictionary path based on that; (2) make ibus-googlepinyin
Architecture: any so that you can set the path at build-time for each
architecture.  My inclination would be to go with the latter, but you
may have some better idea.


Colin Watson                                       [cjwatson at ubuntu.com]

More information about the Pkg-ime-devel mailing list