[kde-linux] KDE 4.0.3 "Unable to load library" problem

James Richard Tyrer tyrerj at acm.org
Thu May 8 10:24:26 UTC 2008


Erbureth wrote:

> I have not read it before, so I did now. You have an example .bash_profile, so I
> have compared it to my .bashrc (included in my original post along the build logs) and
> only difference I saw was about XDG paths. I do not quite understand it, could you
> please comment it?

Obviously, if you installed in a different location, you are going to 
need to set these to different values.  If you don't know what these 
environment variables are, then try Google.

>  > My distro is LFS (Linux From Scratch) so I only felt qualified to list 
>  > the dependencies for it:
> 
>  > http://techbase.kde.org/Getting_Started/Build/KDE4/LFS
> 
> I was using dependencies for my distro on 
> 
> http://techbase.kde.org/Getting_Started/Build/KDE4/Kubuntu_and_Debian
> 
> hope its the same :)

There are going to be some differences.

>  > I have a political problem here.  I think that there are errors in the 
>  > instructions to build KDE 4 TRUNK but I can't write a blurb saying that 
>  > they are wrong.
> 
>  > Back to your installation.
> 
>  > Where did you install KDE-4.0.3?  It needs to go in a private directory.
> 
> I installed it to /home/kde-devel/kde
> 
>  > Are you running KDE-4.0.3 from a user account dedicated to that purpose?
> Yes, I use dedicated user account kde-devel, as advised in the tutorial.
> 
>  > Note that I list a *lot* of environment variables that need to be set.
> 
>  > I think that your specific problem is that you don't have 
>  > LD_LIBRARY_PATH set correctly.
> 
>   I set my LD_LIBRARY_PATH according to tutorial in my .bashrc file (included in my origial post along the build logs)
> 
Just for the record, you shouldn't use ".bashrc" to set environment 
variables.  Only the script functions should be in it.

IAC, since you can't load libraries, you are having a problem there.

Please open a Konsole in your regular user account:

	su - kde
	<password>

	echo $LD_LIBRARY_PATH

and post it.

-- 
JRT



More information about the kde-linux mailing list