Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 206
    • Issues 206
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Issues
  • #1672
Closed
Open
Issue created Jul 12, 2018 by Jordi Inglada@jingladaDeveloper

Linux self extracting binary does not install correctly on Debian Stretch

Description

The otbenv.profile generated after extraction contains errors wich prevent the correct finding of shared libraries:

The OUTDIR variable is not defined (it should point to the install directory) and when used in the file is referred as OUTDIR instead of $OUTDIR (same problem for mapla.sh and monteverdi.sh). For instance:

CMAKE_PREFIX_PATH=OUT_DIR
export CMAKE_PREFIX_PATH

# check and set OTB_APPLICATION_PATH
if [ -z "$OTB_APPLICATION_PATH" ] || [ "$OTB_APPLICATION_PATH" = "" ]; then
    OTB_APPLICATION_PATH=OUT_DIR/lib/otb/applications
else
    OTB_APPLICATION_PATH=OUT_DIR/lib/otb/applications:$OTB_APPLICATION_PATH
fi

Also, the LD_LIBRARY_PATH is not set. Only the OTB_APPLICATION_PATH, PATH and PYTHONPATH variables are set.

Steps to reproduce

./OTB-6.6.0-Linux64.run
Creating directory OTB-6.6.0-Linux64
Verifying archive integrity...  100%   All good.
Uncompressing OrfeoToolBox 6.6.0  100%  
OTB python bindings will be configured for /usr/bin/python ( version: 2.7.13 )
Found python library: /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
not an ELF executable

Configuration information

Debian Stretch, OTB-6.6.0

Edited Jul 12, 2018 by Jordi Inglada
Assignee
Assign to
Time tracking