Hello, libraries are searched from LD_LIBRARY_PATH, and if you don't want to make permanent changes (by export LD_LIBRARY_PATH=...), you can just do:
Code: Select all
LD_LIBRARY_PATH=/some/paths:/used/only:/for/this/command ./mgcamd.arm
Or if you need to preserve the existing LD_LIBRARY_PATH - which you might need actually - then the easiest way to append few extra paths is (also temporary as nothing gets exported)
Code: Select all
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/some/extra/paths:/used/only:/for/this/command ./mgcamd.arm
And btw, the export affects only for the current shell, so no harm done there even if you do
Code: Select all
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/some/extra/paths:/used/only:/for/this/session