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 207
    • Issues 207
    • 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
  • Merge requests
  • !452

ENH: Improve errors messages when loading app fail

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Luc Hermitte requested to merge lhermitte/otb:dynlib_load_errors into develop Apr 01, 2019
  • Overview 2
  • Commits 1
  • Pipelines 2
  • Changes 1

Improve errors messages when loading app fail

Summary

Display a more precise reason why an OTB application could be not loaded.

Rationale

When we try to load an OTB application and when this fails, the error message assumes that we have given an incorrect application name.

Sometimes this is simply not the case: the dynamic library may be missing symbols, it may need other dynamic libraries not in the $LD_LIBRARY_PATH...

Of course, we could set LD_DEBUG=libs on many *nix boxes -- if we are aware of its existence, when we have given up on other leads, when we are on a *nix box...

Fortunately ITK provides the information in a portable manner, so let's cut the chase and simply give it to the end-user.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:
  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dynlib_load_errors