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

Jorge Tornero jtorlistas at gmail.com
Fri May 2 15:34:37 PDT 2014


---------- Mensaje reenviado ----------
De: Jorge Tornero <jtorlistas at gmail.com>
Fecha: sábado, 3 de mayo de 2014
Asunto: [Qgis-developer] error starting qgis (built from source)
Para: Larry Shaffer <larrys at dakotacarto.com>


I'm not a Linux guru, but I've had the same problem some days ago. It's
related to that pointed in a previous message (the system doesn't know
where to look for those libraries). I haven't been able to solve it in a
nice way with a fancy, for sure one-liner magic console command but just
installing to /usr instead of /usr/local (I seem to recall that you've to
set properly CMAKE_INSTALL_PATH  when ccmake) did the trick for me.

Would be nice to find the right way, anyway

All the best

Jorge Tornero

El viernes, 2 de mayo de 2014, Larry Shaffer <larrys at dakotacarto.com>
escribió:
> Hi,
>
> On Fri, May 2, 2014 at 2:53 PM, chris marx <chrismarx at gmail.com> wrote:
>>
>> Hi,
>>  So those options already had the correct paths, so I didn't need to
update them. I have the oracle instant client and sdk libraries installed,
and cmake didn't complain about not finding them. Any other ideas?
>
> Maybe you need to update your LD_LIBRARY_PATH so QGIS or Qt knows of the
custom OCI lib path during runtime?
>
> The qsqlocispatial Qt SQL driver should be installed in Qt's
plugins/sqldrivers/ dir (reason you may have needed sudo). It is the one
linked against the OCI client. Maybe check that it is installed correctly,
and that the OCI lib is linked correctly, using `ldd`?
>
> This all assumes that it is the OCI lib stuff that is not being found in
your error, and not something else.
>
> Maybe some Linux gurus can help further.
>
> Regards,
>
> Larry
>
>
>>
>> On Fri, May 2, 2014 at 4:29 PM, Larry Shaffer <larrys at dakotacarto.com>
wrote:
>>>
>>> Hi Chris,
>>>
>>>
>>> On Fri, May 2, 2014 at 1:47 PM, chris marx <chrismarx at gmail.com> wrote:
>>>>
>>>> I followed the instructions here:
>>>>
>>>> https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL
>>>>
>>>> and did the build on a clean ubuntu 12.04 64bit vm. the only thing i
changed from the vanilla build was to enable WITH_ORACLE. make and make
install completed without errors, although i did have to run sudo make
install, otherwise I got an error when it tried to copy oracle libs to the
qt system folder.
>>>>
>>>> When starting the qgis app, I get:
>>>>
>>>> ./qgis: error while loading shared libraries: libqgis_core.so.2.3.0:
cannot open shared object file: No such file or directory
>>>>
>>>> Any ideas of how to figure out what went wrong? I'm only doing the
custom build to enable oracle support-
>>>
>>> The support still needs access to the Oracle Instant Client library
'libclntsh'.
>>>
>>> You can get binaries here:
>>>
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
>>>
>>> You'll need at least the Basic Lite and the SDK (for the headers).
>>>
>>> If you install to a non-standard location, you will probably also need
to define:
>>>
>>> -D OCI_INCLUDE_DIR=<path-to-oracle-client-sdk>/sdk/include
>>> -D OCI_LIBRARY=<path-to>/lib/libclntsh.dylib
>>>
>>> Coincidentally, when searching for whether there are pre-built binaries
as deb packages, I came across a similar answer, that I believe you
provided, via Kyngchaos.  :-)
>>>
>>> http://gis.stackexchange.com/a/75817/6725
>>>
>>> Regards,
>>>
>>> Larry
>>>
>>>
>>>>
>>>> Chris-
>>>>
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140503/766e0ef1/attachment.html>


More information about the Qgis-developer mailing list