<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Denis</p>
    <p>You can adjust the lib install dir when configuring cmake by
      specifying<br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
    </p>
    <pre style="margin: 0px; padding: 0px; color: rgb(0, 0, 0); font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);"><code>-DQGIS_LIB_SUBDIR=lib64

And yes, on Fedora /usr/lib is for 32bit libs, /usr/lib64 for 64bit libs.


Sandro

</code></pre>
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 05.10.2016 09:49, Denis Rouzaud
      wrote:<br>
    </div>
    <blockquote
      cite="mid:acc9945f-074c-3ad2-2292-a8648d79d46d@gmail.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p><font size="-1"><font face="Verdana">Hi all,</font></font></p>
      <font size="-1"><font face="Verdana">Thanks a lot to Tudor, Sandro
          and Richard for your input.<br>
          <br>
          To solve the issue, I had to do<br>
          export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH<br>
          <br>
          This seems a bit strange to me, shouldn't /usr/lib be
          automaticaly used?<br>
          <br>
          Does this means that installation somehow fails to place the
          lib in the proper place? /usr/lib64?<br>
          <br>
          Cheers,<br>
          <br>
          Denis<br>
        </font></font><br>
      <div class="moz-cite-prefix">On 10/04/2016 02:18 PM, Richard
        Duivenvoorde wrote:<br>
      </div>
      <blockquote
        cite="mid:4aac668b-60f7-e766-f78a-44fc288deea8@duif.net"
        type="cite">
        <pre wrap="">On 04-10-16 10:15, Denis Rouzaud wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi all,

I have an issue with Python on Fedora.

After installing from a new clean clone and fresh build dir, if I do

 PYTHONPATH=$PYTHONPATH:/usr/share/qgis/python python -m qgis.PyQt.uic.pyuic

I get

/usr/bin/python: libqgis_core.so.2.17.0: cannot open shared object file:
No such file or directory

Although the lib is indeed in /usr/lib.

Also, if I run qgis from the build output and do
>From qgis.PyQt.uic import pyuic it crashes without any backtrace.

I don't know what to look for.
There are some issues on the hub, but I cannot find the connection with
this one.
</pre>
        </blockquote>
        <pre wrap="">Hi Denis,

should you not also set LD_LIBRARY_PATH? It looks like something is not
picking up your fresh lib files?

I compile/install myself in a custom dir, and have to set this both for
running QGIS or to run pyqgis stuff

export LD_LIBRARY_PATH=/home/richard/apps/qgis/master/debug/lib/

I also have another 'set environment' script, that set's the

export QGIS_PREFIX_PATH=/home/richard/apps/qgis/master/debug

maybe try that? Not sure what really is picked up to be honest.

Regards,

Richard Duivenvoorde


</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>