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: "David C. Rankin" <drankinatty@...>
Date: Fri, 28 Feb 2014 19:40:54 -0600
On 02/28/2014 07:37 PM, David C. Rankin wrote:
> On 02/28/2014 06:54 PM, Slávek Banko wrote:
>> 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
>>
> 
> 
> OK,
> 
>   You are correct, do I need to add something to my build? It has always worked
> in the past without problems.
> 
> 
> ldd /opt/trinity/lib/trinity/kded_knemod.so
>         linux-gate.so.1 (0xb7742000)
>         libtdeio.so.14 => /opt/trinity/lib/libtdeio.so.14 (0xb72c6000)
>         libtdeutils.so.1 => /opt/trinity/lib/libtdeutils.so.1 (0xb7250000)
>         libiw.so.29 => not found
>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7167000)
> 
> ldd /opt/trinity/lib/trinity/kcm_knemo.so
>         linux-gate.so.1 (0xb774a000)
>         libtdeui.so.14 => /opt/trinity/lib/libtdeui.so.14 (0xb73ae000)
>         libiw.so.29 => not found
> 
> 
> 

OK,

  I just need to rebuild knemo:

l /usr/lib/libiw.so
libiw.so     libiw.so.30

-- 
David C. Rankin, J.D.,P.E.