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

Larry Shaffer larrys at dakotacarto.com
Fri May 2 13:29:00 PDT 2014


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/20140502/916e7ce1/attachment.html>


More information about the Qgis-developer mailing list