[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    strigidaemon: error while loading shared libraries:
From:       Michael Thaler <michael.thaler () physik ! tu-muenchen ! de>
Date:       2007-09-22 13:35:51
Message-ID: 200709221535.52553.michael.thaler () physik ! tu-muenchen ! de
[Download RAW message or body]

Hi,

I compiled kde 4 from source and I have the following problem: when I try to 
start strigidaemon I get the following error message:

strigidaemon: error while loading shared libraries: libstreamanalyzer.so.0: 
cannot open shared object file: No such file or directory

$ ldd /opt/kde4/bin/strigidaemon
        linux-gate.so.1 =>  (0xffffe000)
        libstreamanalyzer.so.0 => not found
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7f0b000)
        libcluceneindex.so.0 => not found
        libclucene.so.0 => /usr/lib/libclucene.so.0 (0xb7e0e000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7e0a000)
        libstreams.so.0 => not found
        libz.so.1 => /usr/lib/libz.so.1 (0xb7df5000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7de4000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb7daf000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7c92000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ba7000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7b82000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7a3a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a2e000)
        /lib/ld-linux.so.2 (0xb7f43000)

For some reason strigidaemon is not correctly linked to 
libstreamanalyzer.so.0, libcluceneindex.so.0 and  libstreams.so.0

However

$ ls /opt/kde4/lib/libstream*
/opt/kde4/lib/libstreamanalyzer.so        /opt/kde4/lib/libstreams.so
/opt/kde4/lib/libstreamanalyzer.so.0      /opt/kde4/lib/libstreams.so.0
/opt/kde4/lib/libstreamanalyzer.so.0.5.5  /opt/kde4/lib/libstreams.so.0.5.5

$ ls /opt/kde4/lib/libcluceneindex.so*
/opt/kde4/lib/libcluceneindex.so    /opt/kde4/lib/libcluceneindex.so.0.5.5
/opt/kde4/lib/libcluceneindex.so.0


shows they are there.

I used the following environment variables to build kde:

export STRIGI_HOME=/opt/kde4
export QTDIR=/usr/share/qt4
export PKG_CONFIG_PATH=/opt/kde4/lib/pkgconfig/
export KDEDIR=/opt/kde4
export KDEHOME=$HOME/.kde4
export KDETMP=/tmp/$USER-kde4
mkdir -p $KDETMP
export KDEVARTMP=/var/tmp/$USER-kde4
export KDEDIRS=$KDEDIR
# Other
export PATH=$QTDIR/bin:$KDEDIR/bin:/usr/local/bin:$PATH
export YACC='byacc -d'
# XDG
unset XDG_DATA_DIRS # unset XDG_DATA_DIRS, to avoid seeing kde3 files 
from /usr
unset XDG_CONFIG_DIRS

I created a build directory in kdesupport, cd'ed to it and ran cmake:

cmake .. -DCMAKE_INSTALL_PREFIX=$KDEDIR

Then I build it with make && make install.

What can I do to fix this?

Thanks,
Michael




 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic