[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#444284: kdelibs: Please explicitly link against libthai



Hi,

Sorry for a late reply. Since I'm not a KDE user myself,
I have to wait for someone to test it for me.

On Dec 18, 2007 4:58 PM, Sune Vuorela <Sune@vuorela.dk> wrote:

> We have recently patched klibloader to also be able to dlopen so-files. Does
> it also work in the libthai case ?

It still doesn't load without *.la present, from a test result
from a KDE user. (See the report at the end of this
message.)

Looking at kdelibs 4:3.5.8.dfsg.1-6 source, I can't find
such patch, either. It's somhow lost?

> > To continue serving Thai KDE users, I think it should be explicitly
> > linked, by having kdelibs build-depend on libthai-dev, and passing
> > --with-libthai=yes it its configure options.
>
> If we could avoid libthai dependency, it would be preferred.

IMHO, having such dependency is not a bad thing.

For example, pango is currently depending on libthai.
And it has served GNOME users well out of the box,
without requiring extra knowledge among users to
manually install a weird package like "libthai-dev" to have
proper Thai support like in KDE.

Interoperability problems are also closely worked out,
unlike this case, which has been out of my awareness
for a while, until someone complained it loudly.

-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/


Test report by Pattara Kiatisevi <ott@linux.thai.net>:

System:

Debian Unstable, installed using Sidux
2007-04.5-200712260120-eros_xmas-kde-lite-i386 then apt-get updated and
upgraded kdebase, kdelibs, kdelibs4c2a to version: 4:3.5.8.dfsg.1-6

Result:
Konqueror/KHTML still needs "libthai.la" in order to load libthai and
break Thai words properly.

How-to-notice:
-install libthai0 package, run "konqueror" from xterm or Konsole, browse
to a Thai site, e.g., http://linux.thai.net/, on screen you will see:

Trying to load libthai dynamically...
Error, can't load libthai...

-then be root and cd /usr/lib ; wget
http://suriyan.in.th/download/libthai.la, then try again, no error
message should show.

Cheers,
Ott



Reply to: