Dia fails to start in OS-X EL-CAPITAN, suggested fix included
Submitted by Keith Stevens
Created attachment 320502 error report from OS-X El Capitan when trying to start Dia
DIA CRASHES ON STARTUP in OS-X El-Capitan. Crude fixes like forcing DISPLAY=:0 do not fix this. Suggested fix below ...
--- (from crash report, full crash report attached) - KCS Dyld Error Message: Library not loaded: @executable_path/../lib/dia/libdia.dylib Referenced from: /opt/homebrew-cask/*/Dia.app/Contents/Resources/bin/dia-bin Reason: image not found
--- executable_path (to dia): /opt/homebrew-cask/Caskroom/dia/0.97.2-7/Dia.app/Contents/Resources/bin ---(contains dia script)
--- search … found libdia.dylib: /opt/homebrew-cask/Caskroom/dia/0.97.2-7/Dia.app/Contents/Resources/lib (contains libdia.dylib)
--- in dia script, there should be NO “dia” in: @executable_path/../lib/dia/libdia.dylib
--- suggested fix (???): --- edit reference to libdia.dylib in dia script: export DIA_LIB_PATH="$TOP/dia" <—————— remove trailing “dia” … ???
Attachment 320502, "error report from OS-X El Capitan when trying to start Dia":