trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] What broke knemo? kded is looking for libkded_knemod.la (it's kded_knemod.la)

From: Slávek Banko <slavek.banko@...>
Date: Sat, 1 Mar 2014 01:54:27 +0100
On Saturday 01 of March 2014 01:39:13 David C. Rankin wrote:
> Command line error:
>
> tdecmshell /opt/trinity/share/applications/tde/kcm_knemo
> The Trinity ltdl loader was unable to dlopen() the shared library
> '/opt/trinity/lib/trinity/kcm_knemo.so' : 'libiw.so.29: cannot open shared
> object file: No such file or directory'
> The Trinity ltdl loader was unable to dlopen() the shared library
> '/opt/trinity/lib/trinity/kcm_knemo.so' : 'libiw.so.29: cannot open shared
> object file: No such file or directory'
>
> .xsession-error:
>
> kded: WARNING: [KDEDModule* Kded::loadModule(const KService*, bool)] Could
> not load library. [ can't open the module ]
> kded: WARNING: [KDEDModule* Kded::loadModule(const KService*, bool)] Could
> not load library. [ Library files for "libkded_knemod.la" not found in
> paths. ]
>
>   The command line error shows it looking for:
>
> /opt/trinity/lib/trinity/kcm_knemo.so
>
>   .xsession-error says the kded is looking for the '.la'
>
> libkded_knemod.la  ('lib' is NOT the file prefix, see below)
>
>    kcm_knemo.so and kded_knemod.la are present on the system, so I don't
> know why kded is looking for 'lib'kded_knemod.la or why tdecmshell claims
> /opt/trinity/lib/trinity/kcm_knemo.so can no longer be found? Here is the
> file listing as it exists on the install, the .so is where it should be.
>
> l1 /opt/trinity/lib/trinity/ | grep knemo
> kcm_knemo.la
> kcm_knemo.so
> kded_knemod.la
> kded_knemod.so

I think that at your system looking for libkded_knemod.so, because due to the 
absence libiw.so.29 failed to use kded_knemod.so. Please check:

  ldd /opt/trinity/lib/trinity/kded_knemod.so
  ldd /opt/trinity/lib/trinity/kcm_knemod.so

I tested on my test machine with Debian 6.0 (Squeeze) => KNemo setting is 
displayed without problems. In my case is linked with libiw.so.30 
=> /lib/libiw.so.30

-- 
Slavek