Please Define on Install: DYLD_LIBRARY_PATH
Mostrar comentarios más antiguos
Hi, I've installed a software programme for photography (OpenDICE). I'm using a Mac running High Sierra.
On the "Successfully Installed," screen there is a message:

Product Configuration Notes:
In the following directions, replace MR/v94 by the directory on the target machine where MATLAB is installed, or MR by the directory where the MATLAB Runtime is installed.
If the environment variable DYLD_LIBRARY_PATH is undefined, set it to the following string:
MR/v94/runtime/maci64:MR/v94/sys/os/maci64:MR/v94/bin/maci64
If it is defined, set it to the following:
${DYLD_LIBRARY_PATH}:MR/v94/runtime/maci64:MR/v94/sys/os/maci64:MR/v94/bin/maci64
There is also a config file in the OpenDICE folder that I think I need to change (But I don't know what to edit exactly!):
#!/bin/sh
# script for execution of deployed applications
#
# Sets up the MATLAB Runtime environment for the current $ARCH and executes
# the specified command.
#
exe_name=$0
exe_dir=`dirname "$0"`
echo "------------------------------------------"
if [ "x$1" = "x" ]; then
echo Usage:
echo $0 \<deployedMCRroot\> args
else
echo Setting up environment variables
MCRROOT="$1"
echo ---
DYLD_LIBRARY_PATH=.:${MCRROOT}/runtime/maci64 ;
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${MCRROOT}/bin/maci64 ;
DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${MCRROOT}/sys/os/maci64;
export DYLD_LIBRARY_PATH;
echo DYLD_LIBRARY_PATH is ${DYLD_LIBRARY_PATH};
shift 1
args=
while [ $# -gt 0 ]; do
token=$1
args="${args} \"${token}\""
shift
done
eval "\"${exe_dir}/OpenDICE.app/Contents/MacOS/OpenDICE\"" $args
fi
exit
MATLAB is installed at:
/Applications/MATLAB/MATLAB_Runtime/v94
or
Macintosh_HD/Applications/MATLAB/MATLAB_Runtime/v94 (?)
What to Do?
Can someone please change the code to show it should be edited to work correctly? It would be greatly appreciated!
Or, if there is something I am missing, please can you point me in the right direciton.
THanks
Respuestas (0)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!