diff --git a/Documentation/Cookbook/rst/AdvancedUse.rst b/Documentation/Cookbook/rst/AdvancedUse.rst index 5ce7228d2f45f4db63d51ed917a8283c3a9e4d0e..ecc8172e7dbb26018acb0180d00fbae3dace5d31 100644 --- a/Documentation/Cookbook/rst/AdvancedUse.rst +++ b/Documentation/Cookbook/rst/AdvancedUse.rst @@ -16,9 +16,10 @@ those values. * ``OTB_MAX_RAM_HINT``: Default maximum memory that OTB should use for processing, in MB. If not set, default value is 128 MB. * ``OTB_LOGGER_LEVEL``: Default level of logging for OTB. Should be one of ``DEBUG``, ``INFO``, ``WARNING``, ``CRITICAL`` or ``FATAL``, by increasing order of priority. Only messages with a higher priority than the level of logging will be displayed. If not set, default level is ``INFO``. +.. _extended-filenames: + Extended filenames ------------------ -.. _extended-filenames: Extended filenames is an interesting feature of OTB. With it, you can control several aspects of the beahvior of the OTB in the OTB-Applications or in our diff --git a/Documentation/Cookbook/rst/Installation_Linux.rst b/Documentation/Cookbook/rst/Installation_Linux.rst index 8f90e6cd8183744e0e6f6e98b81f5041b13a3493..5c87ae40b6fffe6a71d3cb6892016e2b11c95cbb 100644 --- a/Documentation/Cookbook/rst/Installation_Linux.rst +++ b/Documentation/Cookbook/rst/Installation_Linux.rst @@ -116,7 +116,7 @@ FAQ ~~~ Q: Unable to import otbApplication library with Python3 -+++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ :: @@ -126,10 +126,9 @@ A: You need to add a symlink to libpython3.5m.so.rh-python35-1.0 to make it work Here is the solution: -- find the libpython3.5XX on your system : find /usr/lib -iname *libpython3.5* -(on Ubuntu 14.04, it is /usr/lib/x86_64-linux-gnu/libpython3.5m.so) -- create a symlink : ln -s path/to/lib/python3.5XX -path/to/lib/libpython3.5m.so.rh-python35-1.0 +- Find the libpython3.5XX on your system : ``find /usr/lib -iname *libpython3.5*`` + (on Ubuntu 14.04, it is ``/usr/lib/x86_64-linux-gnu/libpython3.5m.so``) +- Create a symlink : ``ln -s path/to/lib/python3.5XX path/to/lib/libpython3.5m.so.rh-python35-1.0`` - Try to import otbApplication again See this discussion on `OTB issue tracker <https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1540#note_67864>`_