I had pushed a fix to handle python installation as in your case https://git.orfeo-toolbox.org/otb.git/shortlog/refs/heads/rel_fix_pkg_python_so_check
On Fri, Feb 10, 2017 at 12:25 AM, Leonardo Hardtke <[email protected]> wrote: > Thanks for the replays! > > I will check the SuperBuild! > > export LD_LIBRARY_PATH=/shared/homes/130141/local/otb/OTB-5.8.0- > Linux64/lib/:$LD_LIBRARY_PATH > was only needed if the installer filed to find python. It was not needed > with the system-wide python version. > > Cheers > > On Thursday, 2 February 2017 15:43:30 UTC+11, Leonardo Hardtke wrote: >> >> 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-Lin >> ux64/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 a topic in the > Google Groups "otb-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/otb-users/zms54HwgzvY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Regards, Rashad -- -- 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.
