Hell Victor,

As an alternative (when debugging, for example), I run directly from the
.../build/bin/ directory.

Regards,

http://orfeo-toolbox.org

Stéphane ALBERT
Ingénieur d'études et développement
Business Unit E-SPACE & Geo Information, Département APPLICATIONS

CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - France


On Thu, Feb 18, 2016 at 4:38 PM, Poughon Victor <[email protected]>
wrote:

> Hi all,
>
> I have built otb and monteverdi locally and the binaries run fine from my
> build directory:
>
> $ OTB_APPLICATION_PATH=../otb-develop/lib/otb/applications/
> ./bin/monteverdi
> # all is good
>
> However when doing "make install" on both otb and monteverdi (to a local
> install directory ~/install/stow/monteverdi) its seems like some dynamic
> libraries are not found:
>
> # in ~/install:
> $ ./bin/monteverdi
> ./bin/monteverdi: error while loading shared libraries:
> libMonteverdi_ApplicationsWrapper.so.3.1: cannot open shared object file:
> No such file or directory
>
> As confirmed by
> $ ldd ./bin/monteverdi
> which shows a lot of "not found" to ITK, OTB and monteverdi libs.
>
> I'm also curious why the built and installed binaries are different.
> Should they be the same or is that normal?
> $ diff ./bin/monteverdi ~/install/stow/monteverdi/bin/monteverdi
> Binary files ./bin/monteverdi and
> /home/poughonv/install/stow/monteverdi/bin/monteverdi differ
>
> See also:
> http://stackoverflow.com/questions/3352041/creating-binary-with-cmake-removes-runtime-path
>
> To sum up my question: is it possible to run monteverdi from a local
> install location without filling up LD_LIBRARY_PATH, and why is the runtime
> path begin removed during "make install"?
>
> Thanks,
>
> Victor Poughon
>
> --
> --
> 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.
>

-- 
-- 
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