Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling QGIS with Oracle libs does not let you install as non-root user #21809

Closed
qgib opened this issue Nov 6, 2015 · 1 comment
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers

Comments

@qgib
Copy link
Contributor

qgib commented Nov 6, 2015

Author Name: Richard Duivenvoorde (@rduivenvoorde)
Original Redmine Issue: 13783
Affected QGIS version: master
Redmine category:data_provider/oracle
Assignee: Jürgen Fischer


If you compile QGIS with Oracle driver and wants to install QGIS as non-root user the 'make install' fails because make tries to install the libqsqlocispatial.so in the system libs dir.

Not sure if this is by accident, or is a nessecity:

-- Up-to-date: /usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlocispatial.so
CMake Error at src/providers/oracle/ocispatial/cmake_install.cmake:50 (file):
  file INSTALL cannot set permissions on
  "/usr/lib/x86_64-linux-gnu/qt4/plugins/sqldrivers/libqsqlocispatial.so"
Call Stack (most recent call first):
  src/providers/oracle/cmake_install.cmake:55 (include)
  src/providers/cmake_install.cmake:48 (include)
  src/cmake_install.cmake:42 (include)
  cmake_install.cmake:56 (include)


Makefile:93: recipe for target 'install' failed
make: *** [install] Error 1


@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2015

Author Name: Jürgen Fischer (@jef-n)


The sqldrivers (ocispatial but also qspatialite) are installed into the default directory for Qt plugins (QT_PLUGINS_DIR) - otherwise Qt won't find them by default.


  • resolution was changed from to worksforme
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib added this to the Future Release - Lower Priority milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant