[Digikam-devel] Install in /home borked - what did I do wrong?

Thorsten Schnebeck thorsten.schnebeck at gmx.net
Tue Apr 25 19:27:23 BST 2006


Am Dienstag 25 April 2006 19:07 schrieb Sebastian Röder:

> Me again. In the last hours I read the Gentoo docs concerning environment
> variables and learned quite a lot. I am almost sure that it is a problem
> with the LDPATH variable, that usaly points to all the places were libs can
> be found.
>
> Reading your output I found out that all the files I need are there, but
> digikam seems not to find them:

>
> Gilles what does "echo $LDPATH" or "echo $LD_LIBRARY_PATH" give you? The
> latter it not used in Gentoo it seems. Any pointers how I can make digikam
> find the libs? Once I sort out this problem I can write a nice little blog
> about this "home dir approach" of installing SVN snapshots ;-

Gentoo use a dynamic configuration of LDPATH:

You put a config file into /etc/env.d like

/etc/env.d/51digikam-svn with a content like

PATH="/your/path/bin"
LDPATH="/your/path/lib"

then you run
env-update and now you have a new /etc/ld.so.conf and the system knows where 
to find your lib.

But you can also take the script from
http://forum.ebv4linux.de/viewtopic.php?t=747
and use the script in PATH startup method:
[...]
 cat > /usr/bin/digikam-svn << EOF 
 #!/bin/sh 
 export LDPATH="$MYDIR/lib:$LDPATH" 
 export KDEDIRS="$MYDIR:$KDEDIRS" 
 $MYDIR/bin/digikam 
 EOF 
 chmod a+x  /usr/bin/digikam-svn 

But watch out that this script runs with the same userconfig, so you need to 
setup a testuser to separate the userconfigs.

HTH

  Thorsten






More information about the Digikam-devel mailing list