[Digikam-users] "Install digiKam in your Home Directory"

Daniel Bauer linux at daniel-bauer.com
Wed Nov 15 11:01:11 GMT 2006


On Wednesday 15 November 2006 10:37, Fabien wrote:
> Daniel Bauer wrote:
> > I just wonder about the /usr/local/lib/libexiv2-0.10.so lines, because my
> > svn compiled versions are here: /home/digi/digikamSVN/lib
>
> Yes, that's a problem.
>
> > Do I need another prefix or something for configure?
> >
> > This is what I've done this morning:
>  > [...]
>
> It looks ok. More important, I think, is how you start digikam.
> Try to see lib dependencies with ldd :
> # ldd digikam | grep -i exiv2

digi at venus:~/digikamSVN/bin> ldd digikam | grep -i exiv2
        libexiv2-0.11.so => /home/digi/digikamSVN/lib/libexiv2-0.11.so 
(0x405fe000)

this works only in the ~/digikamSVN/bin directory (typed in other directories 
it says "ldd: digikam not found"..

>
> It's important to use the environment variables, eg :
> # export DIGIKAMDEST=/opt/digikam
> # export KDEDIRS=$DIGIKAMDEST:/usr
> # export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH
> # export PATH=$DIGIKAMDEST/bin:$PATH
>
I start it with the adapted script from the webpage:

#!/bin/bash

export DIGIKAMDEST=/home/digi/digikamSVN/
export KDEDIRS=$DIGIKAMDEST:/usr ; 
export LD_LIBRARY_PATH=$DIGIKAMDEST/lib:$LD_LIBRARY_PATH ; 
export LDPATH=$DIGIKAMDEST/lib:$LDPATH
export PATH=$DIGIKAMDEST/bin:$PATH
hash -r
gdb digikam

> before starting digikam (also with valgrind).

> Note: I added yesterday another point concerning the KDEDIRS that must
> be in ~/.profile to be loaded by KDE desktop when it's starting :
> http://www.digikam.org/?q=download/svn#attachments
>
I've added it to ~/.profile - no change.:

digi at venus:~> ./start_digikam_gdb.sh
GNU gdb 6.3
Copyright [...].
This GDB was configured as "i586-suse-linux"...Using host libthread_db 
library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /home/digi/digikamSVN/bin/digikam
[Thread debugging using libthread_db enabled]
[New Thread 1105458432 (LWP 25392)]
kbuildsycoca running...
[New Thread 1109187504 (LWP 25406)]
[Thread 1109187504 (LWP 25406) exited]
[New Thread 1111288752 (LWP 25407)]
[Thread 1111288752 (LWP 25407) exited]
digikam: ScanLib: Nach nicht existierenden Alben suchen: 2 ms
digikam: ScanLib: Nach Einträgen, die nicht in der Datenbank oder auf der 
Festplatte sind, suchen: 401 ms
digikam: ScanLib: Einträge ohne Datum werden aktualisiert: 0 ms
digikam: Found dcraw version: 8.41
KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list 
for host application
KIPI (loading): Plugin_SlideShow plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin SlideShow
KIPI (loading): Plugin_SendImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin SendImages
KIPI (loading): Plugin_FindImages plugin loaded
KIPI (loading): KIPI::PluginLoader: Loaded plugin FindImages
terminate called after throwing an instance of 'Exiv2::Error'

Program received signal SIGABRT, Aborted.
[Switching to Thread 1105458432 (LWP 25392)]
0xffffe410 in __kernel_vsyscall ()

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x41d44541 in raise () from /lib/tls/libc.so.6
#2  0x41d45dbb in abort () from /lib/tls/libc.so.6
#3  0x41cc2489 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4  0x41cbfe15 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5  0x41cbfe52 in std::terminate () from /usr/lib/libstdc++.so.6
#6  0x41cbffba in __cxa_throw () from /usr/lib/libstdc++.so.6
#7  0x40680c41 in Exiv2::ExifTags::registerMakerTagInfo (
    ifdId=Exiv2::ifdIdNotSet, tagInfo=0x6) at tags.cpp:1137
#8  0x40679b04 in RegisterMn (this=0x431924a8) at sigmamn.cpp:59
#9  0x4314c2a3 in __static_initialization_and_destruction_0 (
    __initialize_p=<value optimized out>, __priority=<value optimized out>)
    at sigmamn.hpp:148
#10 0x43165dc6 in __do_global_ctors_aux () 
from /usr/local/lib/libexiv2-0.10.so
#11 0x43101425 in _init () from /usr/local/lib/libexiv2-0.10.so
#12 0x4000b9a4 in call_init () from /lib/ld-linux.so.2
#13 0x4000bae1 in _dl_init_internal () from /lib/ld-linux.so.2
#14 0x41e0ded1 in dl_open_worker () from /lib/tls/libc.so.6
#15 0x4000b82f in _dl_catch_error () from /lib/ld-linux.so.2
#16 0x41e0e546 in _dl_open () from /lib/tls/libc.so.6
#17 0x41c0cd68 in dlopen_doit () from /lib/libdl.so.2
#18 0x4000b82f in _dl_catch_error () from /lib/ld-linux.so.2
#19 0x41c0d37e in _dlerror_run () from /lib/libdl.so.2
#20 0x41c0cdc1 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
#21 0x410ead31 in sys_dl_open () from /opt/kde3/lib/libkdecore.so.4
#22 0x410eb610 in tryall_dlopen () from /opt/kde3/lib/libkdecore.so.4
#23 0x410ed235 in lt_dlopen () from /opt/kde3/lib/libkdecore.so.4
#24 0x410310b6 in KLibLoader::library () from /opt/kde3/lib/libkdecore.so.4
#25 0x40584f8d in KIPI::PluginLoader::loadPlugin ()
   from /home/digi/digikamSVN//lib/libkipi.so.0
#26 0x40585b6f in KIPI::PluginLoader::loadPlugins ()
   from /home/digi/digikamSVN//lib/libkipi.so.0
#27 0x4015f440 in Digikam::DigikamApp::loadPlugins (this=0x8175b58)
    at digikamapp.cpp:1497
#28 0x40164ca6 in DigikamApp (this=0x8175b58) at digikamapp.cpp:170
#29 0x0804a713 in main (argc=1, argv=0xbfe0f2f4) at main.cpp:244
(gdb) 

-- 
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
Madagascar special: http://www.sanic.ch



More information about the Digikam-users mailing list