From kde-devel Sat Sep 22 13:35:51 2007 From: Michael Thaler Date: Sat, 22 Sep 2007 13:35:51 +0000 To: kde-devel Subject: strigidaemon: error while loading shared libraries: Message-Id: <200709221535.52553.michael.thaler () physik ! tu-muenchen ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=119046834611079 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 <<