Hédy Midassi
2018-07-11 08:50:52 UTC
Hello,
I have been trying to use OTB 6.6.0 with both Python 2.7 and 3.5, in a
Docker container. After editing the PYTHONPATH, LD_LIBRARY_PATH, and adding
the symlink to libpython so that the right dependencies can be found, I
received the following error:
Traceback (most recent call last):
File "image_preparation_metadata.py", line 3, in <module>
import otbApplication
File "/OTB-6.6.0-Linux64/lib/python/otbApplication.py", line 28, in
<module>
_otbApplication = swig_import_helper()
File "/OTB-6.6.0-Linux64/lib/python/otbApplication.py", line 24, in
swig_import_helper
_mod = imp.load_module('_otbApplication', fp, pathname, description)
ImportError: /OTB-6.6.0-Linux64/lib/libOTBTransform-6.6.so.1: undefined
symbol: _ZN19OGRSpatialReference8ValidateEv
I have done some research, it might be a linker flag issue. Did anyone else
have the same issue?
Thanks in advance, and best regards.
Hedy
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have been trying to use OTB 6.6.0 with both Python 2.7 and 3.5, in a
Docker container. After editing the PYTHONPATH, LD_LIBRARY_PATH, and adding
the symlink to libpython so that the right dependencies can be found, I
received the following error:
Traceback (most recent call last):
File "image_preparation_metadata.py", line 3, in <module>
import otbApplication
File "/OTB-6.6.0-Linux64/lib/python/otbApplication.py", line 28, in
<module>
_otbApplication = swig_import_helper()
File "/OTB-6.6.0-Linux64/lib/python/otbApplication.py", line 24, in
swig_import_helper
_mod = imp.load_module('_otbApplication', fp, pathname, description)
ImportError: /OTB-6.6.0-Linux64/lib/libOTBTransform-6.6.so.1: undefined
symbol: _ZN19OGRSpatialReference8ValidateEv
I have done some research, it might be a linker flag issue. Did anyone else
have the same issue?
Thanks in advance, and best regards.
Hedy
--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-***@googlegroups.com
To unsubscribe from this group, send email to
otb-users+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otb-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.