trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-users] kdebase: kde-config: error while loading shared libraries: libkdecore.so.4 (file not found?)

From: "David C. Rankin" <drankinatty@...>
Date: Sun, 06 Feb 2011 21:14:44 -0600
On 02/06/2011 08:57 PM, David C. Rankin wrote:
> On 02/06/2011 08:20 PM, David C. Rankin wrote:
>> -- checking for 'TDE'
>> /opt/trinity/bin/kde-config: error while loading shared libraries:
>> libkdecore.so.4: cannot open shared object file: No such file or directory
>> CMake Error at cmake/modules/TDEMacros.cmake:20 (message):
>> #################################################
>>
>> Unable to run kde-config!
>> KDELIBS are correctly installed?
>> Path to kde-config are corect?
>>
>> #################################################
>> Call Stack (most recent call first):
>> cmake/modules/FindTDE.cmake:34 (tde_message_fatal)
>> ConfigureChecks.cmake:128 (find_package)
>> CMakeLists.txt:114 (include)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> Aborting...
>>
>> OK, well did libkdecore.so.4 get built and installed correctly? Yes!
>>
>> ls -al /opt/trinity/lib/libkdecore.so*
>> lrwxrwxrwx 1 root root 15 Feb 6 15:36 /opt/trinity/lib/libkdecore.so ->
>> libkdecore.so.4
>> lrwxrwxrwx 1 root root 19 Feb 6 15:36 /opt/trinity/lib/libkdecore.so.4 ->
>> libkdecore.so.4.2.0
>> -rwxr-xr-x 1 root root 3008080 Feb 6 15:37 /opt/trinity/lib/libkdecore.so.4.2.0
>>
>> So why is kdebase saying it can't be found?
>
> Serghei,
>
> Could this be the result of dropping the "-DCMAKE_SKIP_RPATH=ON" argument from
> the kdelibs build?
>

The error is actually generated by the 'kdeconfig --version' call. I can 
confirm, it gives an error:

20:21 trinity:~/tbld/kdelibs> /opt/trinity/bin/kde-config --version
/opt/trinity/bin/kde-config: error while loading shared libraries: 
libkdecore.so.4: cannot open shared object file: No such file or directory

After installing kdelibs, do I need to set anything in the environment to have 
kde-config find it's required libraries before building kdebase?


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