[Qgis-developer] error starting qgis (built from source)

chris marx chrismarx at gmail.com
Mon May 5 12:34:57 PDT 2014


Ok, cool. Well, not sure if this is a question for another email thread or
not, but now I can at least start the app, I do get the same errors that
daniel mentioned earlier

"I've had the same problem and the above worked for me. Except that now I
found that some plugin libraries are missing. During start of QGIS I get
a message "Unable to load GdalTools plugin. The required "osgeo
[python-gdal]" module is missing." and after a Python error "Couldn't
load plugin 'processing' [...]". After QGIS startup in the plugin
manager with GdalTools everything seems to be ok, whereas processing
plugin is marked broken and the reinstall button is disabled. Any
suggestions what to do?"

and then i can get into the app. I went to add an oracle vector layer, and
I can successfully connect to the database, and I can see the tables, but
they're all greyed out. I have QGIS running on windows against the exact
same db and everything worked just fine. Is this related?


On Mon, May 5, 2014 at 2:32 PM, Yves Jacolin <yjacolin at free.fr> wrote:

> That's great!
>
> Yes "cmake ." command allows you to setup the location where qgis (bin, and
> lib) will be located. Related to this settings you should adapt it for
> ld.so.conf.d  config file.
>
> For me, I install qgis in /usr/local/ which is the default one, in another
> computer I created other location because I have several release of qgis
> for
> different task (working, testing and trainings) so I have to adapt each
> time
> the ld.so.conf.d file :)
>
> Y.
> Le lundi 5 mai 2014, 13:44:45 chris marx a écrit :
> > Sorry, I think you misunderstood, the previous commands did work. I can
> > start qgis now! yay! I was asking an additional question  -- whether I
> did
> > something wrong in the first place, or is this what you're expected to do
> > when building qgis?
> >
> > On Mon, May 5, 2014 at 1:32 PM, Yves Jacolin <yjacolin at free.fr> wrote:
> > > ok I understand :)
> > >
> > > Add /home/chrismarx/apps/lib/ in the /etc/ld.so.conf.d/qgis.conf is not
> > > already done and run sudo ldconfig.
> > >
> > > If you already do such command line, well I don't know what's wrong.
> Last
> > > idea: do you use redhat or something like this?
> > >
> > > Y.
> > >
> > > Le lundi 5 mai 2014, 13:21:44 chris marx a écrit :
> > > > Yay! Ok, that did it. So, did I do something wrong? After running
> > >
> > > updatedb,
> > >
> > > > locate found the libraries in "/home/chrismarx/apps/lib/" .
> According to
> > > > the build instructions, it suggested to create :
> > > >
> > > > mkdir -p ${HOME}/apps
> > > >
> > > > and build the app into there. Is that where those libraries should
> have
> > > > ended up?
> > > >
> > > > On Mon, May 5, 2014 at 12:50 PM, Yves Jacolin <yjacolin at free.fr>
> wrote:
> > > > > Le lundi 5 mai 2014, 10:26:34 chris marx a écrit :
> > > > > > Hi,
> > > > > >
> > > > > >  Ok, some of this is a bit unfamiliar for me, but here goes. So,
> I
> > >
> > > ran
> > >
> > > > > ldd
> > > > >
> > > > > > on the qgis app, and it very clearly shows that that libqgis_core
> > > > > > was
> > > > > > not
> > > > > > found:
> > > > > >
> > > > > > chrismarx at ubuntu:~/apps/bin$ ldd ./qgis
> > > > > >
> > > > > >     linux-vdso.so.1 =>  (0x00007fff12158000)
> > > > > >     libqwt-qt4.so.5 => /usr/lib/libqwt-qt4.so.5
> (0x00007f7b3606f000)
> > > > > >     libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4
> > > > > >
> > > > > > (0x00007f7b35e30000)
> > > > > >
> > > > > >     libQtWebKit.so.4 =>
> /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
> > > > > >
> > > > > > (0x00007f7b34077000)
> > > > > >
> > > > > >     libgdal1.7.0.so.1 => /usr/lib/libgdal1.7.0.so.1
> > >
> > > (0x00007f7b3366d000)
> > >
> > > > > >     libqgis_core.so.2.3.0 => not found
> > > > > >     libqgis_gui.so.2.3.0 => not found
> > > > > >     libqgis_analysis.so.2.3.0 => not found
> > > > > >     [..]
> > > > >
> > > > > This is the problem, if you added your correct lib path in
> > > > > /etc/ld.so.conf.d/qgis.conf (filename is not important, only the
> > >
> > > extension
> > >
> > > > > is
> > > > > important) then run sudo ldconfig your system should find them.
> > > > >
> > > > > First, run sudo updatedb then wait for a while. Finaly check the
> > >
> > > location
> > >
> > > > > with:
> > > > > locate libqgis_gui.so.2.3.0
> > > > >
> > > > > It gives you at least two location: your build src and your lib
> > > > > install
> > > > > path.
> > > > > Take the second one and put it into /etc/ ld.so.conf.d/qgis.conf,
> run
> > > > > again
> > > > > sudo ldconfig
> > > > >
> > > > > check again with your ldd command.
> > > > >
> > > > > Y.
> > > > >
> > > > > --
> > > > > Yves Jacolin
> > >
> > > --
> > > Yves Jacolin
>
> --
> Yves Jacolin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140505/cbd2fd56/attachment.html>


More information about the Qgis-developer mailing list