<div>Dear Dr. Kokalj,</div><div><br></div><div>I would like to suggest removal of these lines from the &quot;xcrysden&quot; script in the package. If you are trying to use libraries other than in external/lib, then these lines cause the system to look in the wrong places and the executable cannot run, and I could only make it work by commenting them out. These lines are within a check whether &quot;external/lib&quot; exists, which I presume is an attempt to see whether the external libraries are being used. However, the make target &quot;xcrysden&quot; downloads bwidget and creates that directory, so it seems to me that it is not possible to build the code without &quot;external/lib&quot; being created, and so these lines about DYLD_LIBRARY_PATH will always be invoked, even when that directory is not being used for TCL, TK, GL, etc. I suggest that, in general, it is the responsibility of the user to ensure that the correct search paths are set in the environment, and that a silent attempt by the program to guess and set the paths causes confusion.</div>
<div><br></div><div>#    if test -z &quot;${DYLD_LIBRARY_PATH}&quot;; then</div><div>#     DYLD_LIBRARY_PATH=&quot;$XCRYSDEN_TOPDIR/external/lib&quot;</div><div>#    else</div><div>#     DYLD_LIBRARY_PATH=&quot;$XCRYSDEN_TOPDIR/external/lib:$DYLD_LIBRARY_PATH&quot;</div>
<div>#    fi</div><div>#    export DYLD_LIBRARY_PATH</div><div><br></div><div>Regards,</div><div>David Strubbe</div>