Message: previous - next
Month: February 2011

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

From: Serghei Amelian <serghei@...>
Date: Mon, 7 Feb 2011 11:54:58 +0200
On Monday 07 February 2011 05:14:44 David C. Rankin wrote:

> > Could this be the result of dropping the "-DCMAKE_SKIP_RPATH=ON" argument
> > from the kdelibs build?

Is not.

> 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:
> 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?

You must set LD_LIBRARY_PATH to /opt/trinity/lib