Closed ghost closed 4 years ago
Quoting from the bash manual the source of the problem:
PATH The search path for commands. It is a colon-separated list of directories in which the shell looks for commands (see COMMAND EXECUTION below). A zero-length (null) directory name in the value of PATH indicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. The default path is sys‐tem-dependent, and is set by the administrator who installs bash. A common value is ``/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin''.
Need to fix https://github.com/BIC-MNI/minc-toolkit-v2/blob/master/minc-toolkit-config.unix.sh.cmake
Thanks for the report.
technically, we don't need to setup LD_LIBRARY_PATH at all, since on MacOS it is very restrictive, all the binaries now should have properly set RPATHs to find the shared libraries.
@vfonov indeed, I was thinking about that recently when I redid the ANTs build/install. Will test commenting out the unneeded variables and see if RPATH is properly working on Linux.
Fixed.
There is a weird slowness when using the minc tools on a sshfs mounted directory.
It turns out the issue is in the configurations settings, more specifically:
The semi column at the end add the current working directory to the lookup paths.
To fix it:
The same issue for PATH, PERL5LIB and MANPATH.