<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <pre>Launching kbuildsycoca4 with my home directory fix the problem to the missing/unloaded libraries but the image is not changed. So i was returned to the installation in /usr as usual.

My commands are:
 
<b>cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
sudo make install
</b></pre>
    <pre><b>export KDEDIRS=/usr/share/kde4/apps/okular:$(kde4-config --prefix); kbuildsycoca4
</b><b>
tried also:

export KDEDIRS=/usr:$(kde4-config --prefix); kbuildsycoca4</b>

But this not fix the problem, indeed i read on <a class="moz-txt-link-freetext" href="http://okular.kde.org/download.php:">http://okular.kde.org/download.php:</a>

"If you install Okular in a different path than your system kde4 install directory it is possible that you need to run"

this is not my case i install in system directory.

The strace command output is just like this:

strace okular 2>&1 | grep png
open("/usr/lib64/libpng12.so.0", O_RDONLY) = 3
access("/usr/share/icons/oxygen/22x22/actions/process-working.png", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/icons/oxygen/22x22/animations/process-working.png", R_OK) = 0
stat("/usr/share/icons/oxygen/22x22/animations/process-working.png", {st_mode=S_IFREG|0644, st_size=703, ...}) = 0
stat("/usr/share/icons/oxygen/22x22/animations/process-working.png", {st_mode=S_IFREG|0644, st_size=703, ...}) = 0
open("/usr/share/icons/oxygen/22x22/animations/process-working.png", O_RDONLY|O_CLOEXEC) = 10

i don't know very well the command maybe i miss something. 
</pre>
    On 26/01/12 18:31, Albert Astals Cid wrote:
    <blockquote cite="mid:15088586.i3R0CMzSlc@xps" type="cite">
      <pre wrap="">El Dijous, 26 de gener de 2012, a les 15:32:28, Bemipefe va escriure:
</pre>
      <blockquote type="cite">
        <pre wrap="">I tried to install in my /home directory and i have launched the export
and kbuildsycoca4 command. Unfortunately if i try to open a pdf with
okular it just say that there isn't a plugin to open the file. This
because the .so libraries are not present in /usr and so are not loaded.
I don't know how to load it manually.
</pre>
      </blockquote>
      <pre wrap="">Did you read <a class="moz-txt-link-freetext" href="http://okular.kde.org/download.php">http://okular.kde.org/download.php</a> ?

If so tell me what was your cmake command and your KDEDIRS command.


Albert

</pre>
      <blockquote type="cite">
        <pre wrap="">I tried also in a different distribution on another computer but the
problem remain.

On 26/01/12 14:29, Bemipefe wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Thanks for reply.

No i'm not setting this variable because i install directly in the
"/usr" directory. I forget to say that the distribution package that
contain the okular files was removed before installing okular from
source. So i have only the files installed with the "make install"
command.

Indeed if i open the image in
"/usr/share/kde4/apps/okular/pics/tool-ellipse-okular.png"
i can see the modified image.

However now i'm trying to install in a different directory.
I keep you updated.

On 25/01/12 22:43, Albert Astals Cid wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Were are you installing? Are you setting KDEDIRS as explained in
<a class="moz-txt-link-freetext" href="http://okular.kde.org/download.php">http://okular.kde.org/download.php</a> ?

Albert

</pre>
            <blockquote type="cite">
              <pre wrap="">Thanks in a advance.
_______________________________________________
Okular-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/okular-devel">https://mail.kde.org/mailman/listinfo/okular-devel</a>
</pre>
            </blockquote>
          </blockquote>
        </blockquote>
        <pre wrap="">_______________________________________________
Okular-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/okular-devel">https://mail.kde.org/mailman/listinfo/okular-devel</a>
</pre>
      </blockquote>
      <pre wrap="">_______________________________________________
Okular-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/okular-devel">https://mail.kde.org/mailman/listinfo/okular-devel</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>