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

List:       kde-devel
Subject:    Re: strigidaemon: error while loading shared libraries:
From:       Thiago Macieira <thiago () kde ! org>
Date:       2007-09-23 15:15:34
Message-ID: 200709231715.35346.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Michael Thaler wrote:
>strigidaemon: error while loading shared libraries:
> libstreamanalyzer.so.0: cannot open shared object file: No such file or
> directory
[snip]

>$ 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

>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:

KDE sets the runpaths correctly when doing builds. However, Strigi isn't 
using the KDE CMake scripts, so it doesn't follow the KDE configuration. 
The default CMake configuration is, instead, being used and that doesn't 
set the runpaths.

So, if you install KDE libraries to a dir that isn't in /etc/ld.so.conf, 
you have to set LD_LIBRARY_PATH.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

["signature.asc" (application/pgp-signature)]

>> 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