Skip to content

tcsh outputs LD_LIBRARY_PATH: Undefined variable. #2641

Description

@opoplawski

On init tcsh outputs:

LD_LIBRARY_PATH: Undefined variable.

this is from /opt/ohpc/admin/lmod/lmod/init/csh:

if ($?tcsh) then
  alias module  $prefix'eval `setenv __LMOD_PROTECTED_LD_LIBRARY_PATH $LD_LIBRARY_PATH ; setenv __LMOD_PROTECTED_LD_PRELOAD      $LD_PRELOAD; setenv LD_LIBRARY_PATH  setenv LD_PRELOAD ;  $LMOD_CMD tcsh --protected_vars '$midfix $histchar'*` '$postfix $merge' eval `$LMOD_SETTARG_CMD -s csh`'

which does not take into account csh's handling of undefined variables.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions