From ae7ba566f9908bed05a97633e1447f3c12af2b2a Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Fri, 5 Jan 2018 15:36:18 +0100
Subject: [PATCH] BUG: Mantis-1466: add documentation about library conflicts

---
 Documentation/Cookbook/rst/FAQ.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/Cookbook/rst/FAQ.rst b/Documentation/Cookbook/rst/FAQ.rst
index 511ccd67ef..39a2287c3a 100644
--- a/Documentation/Cookbook/rst/FAQ.rst
+++ b/Documentation/Cookbook/rst/FAQ.rst
@@ -290,6 +290,22 @@ how the file is streamed on the disk and will try to minimize the memory
 consumption along the pipeline. More information can be found into the
 documentation of the class.
 
+Problems using OTB python wrapping along with other software
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If you use OTB standalone binaries, there should not be any dependency conflict
+with other libraries installed on your system. OTB will always try to grab
+supplied libraries in the standalone package.
+
+However, when using Python wrappings, there can be conflicts if you import
+*otbApplications* along with other software that share common dependencies with
+OTB. For instance, if you want to use OTB Applications and Fiona in a Python
+script, they both rely on GDAL library. As the libraries loaded by Python must
+be unique, the first library *SomeLib* loaded will be used by any other binary
+depending on it. Thus, the order of the imports has an effect. In some cases,
+symbol problems have been observed in libcrypto, and the solution was to import
+OTB Applications before importing Fiona.
+
 Getting help
 ------------
 
-- 
GitLab