[Qgis-developer] error starting qgis (built from source)
Larry Shaffer
larrys at dakotacarto.com
Fri May 2 14:45:42 PDT 2014
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/20140502/10d47588/attachment-0001.html>
More information about the Qgis-developer
mailing list