dyld: Library not loaded.
MacBook Pro, MacOS 10.15.7
Dia fails to start up.
Dia does not start in XQuartz. Attempting to run from terminal produces:
bash-3.2$ /Applications/Dia.app/Contents/Resources/bin/dia-bin dyld: Library not loaded: @executable_path/../lib/dia/libdia.dylib Referenced from: /Applications/Dia.app/Contents/Resources/bin/dia-bin Reason: image not found Abort trap: 6
This change has previously been made:
# Check for X11 if [[ "" == $DISPLAY ]]; then export DISPLAY=:100: fi startx=`which startx` if [[ "" == $startx ]]; then if [[ ! -e /opt/X11/bin/startx ]]; then osascript -e 'tell app "System Events" to display dialog "X11 (XQuartz) is not installed or not running. Would you like to visit xquartz.macosforge.org now in order to download and install XQuartz?" with icon 0' if [[ $? -eq 0 ]]; then open http://xquartz.macosforge.org exit fi fi fi export DISPLAY=:0
~/dia-etc does not result in start up, but only
~/dia-etc is recreated on the attempt to start up.