Hi Leonardo,

Thank you for the feedback. Indeed the .run binary installer for linux is a bit 
limited in handling python. It's quite a feat that it works already...

If you are looking to customize an OTB installation I can recommend the 
SuperBuild which has much more possibilities for customization (deactivate some 
modules, etc). Doc is here:
https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html#x16-200002.1

The binary package is intended more for a "just works" kind of installation.

Best,

Victor Poughon
________________________________
De : [email protected] [[email protected]] de la part de 
Leonardo Hardtke [[email protected]]
Envoyé : jeudi 2 février 2017 05:43
À : otb-users
Objet : [otb-users] Problem installing in linux with installer and custom 
python version

Hi all,
I've been trying to install OTB in a High Performance Computer (Centos 6, no 
admin rights ). The installer worked fine with the system python version, but 
it is a very old 2.6 version. I compiled a 2.7.12 and added all the environment 
vars, but the installer can't find my python 2.7 libs...
*****Error occured during installation******
Python interpreter detected is : /shared/c3/apps/python-2.7.12/bin/python ( 
version: 2.7.12 )
libpython2.7.a cannot be found in any of search directories.
We had searched following directories /usr/lib /usr/lib64 
/usr/lib/x86_64-linux-gnu

> which python
/shared/c3/apps/python-2.7.12/bin/python

> echo $LD_LIBRARY_PATH
/shared/c3/apps/python-2.7.12/lib

> ls $LD_LIBRARY_PATH
libpython2.7.a  pkgconfig  python2.7

I know I can just make the link and add the pythonpath, but I think the 
installer should also search for libs in the LD_LIBRARY_PATH as well.

I tried and to make it work, I also needed to add some extra PATHS in the 
environment variables:

export 
LD_LIBRARY_PATH=/shared/homes/130141/local/otb/OTB-5.8.0-Linux64/lib/:$LD_LIBRARY_PATH
export PYTHONPATH=/shared/homes/130141/local/otb/OTB-5.8.0-Linux64/lib/python

I guess this also should be handled by the installer.

Regards.

--
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
[email protected]<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to