![如何修复加载 /etc/profile 时发现的错误:user/share/modules/int/sh 第 36 行和 61 行?](https://linux22.com/image/927124/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E5%8A%A0%E8%BD%BD%20%2Fetc%2Fprofile%20%E6%97%B6%E5%8F%91%E7%8E%B0%E7%9A%84%E9%94%99%E8%AF%AF%EF%BC%9Auser%2Fshare%2Fmodules%2Fint%2Fsh%20%E7%AC%AC%2036%20%E8%A1%8C%E5%92%8C%2061%20%E8%A1%8C%EF%BC%9F.png)
当我启动 Ubuntu 18.04 或切换用户时,弹出一条错误消息:
" Error found when loading /etc/profile:
/usr/share/modules/init/sh: line 36: /usr/bin/tclsh: No such file or directory
/usr/share/modules/int/sh: line 61: export: module: not a function
As a result the session will not be configured correctly, you should fix the problemas soon as feasable."
如果有人能建议如何解决这个问题,那就太好了!