在redhat8.5上安装activetcl8.5时,提示某个文件不存在,实际该文件是存在的,该怎么解决?
[root@localhost ActiveTcl8.5.13.296436-linux-ix86-threaded]# ./install.sh ./install.sh: line 53: ./payload/bin/tclsh8.5: No such file or directory[root@localhost ActiveTcl8.5.13.296436-linux-ix86-threaded]# ls payload/bin/base-tcl8.5-thread-linux-ix86 base-tcl8.5-thread-linux-ix86.so base-tk8.5-thread-linux-ix86 tclsh tclsh8.5 tclvfse teacup tkcon wish wish8.5[root@localhost ActiveTcl8.5.13.296436-linux-ix86-threaded]# cat install.sh #!/bin/sh# Shell wrapper around the main installation script. Will use the# wish or tclsh inside of the distribution to execute this# installer.## Auto-detects the location of the distribution. Auto-detects# availability of X and chooses between gui and terminal based# installers using this information.dist=`dirname $0`# initialize the environment so that the distributed "wish" and# "tclsh" are able to find their libraries despite being crippled with# the special path value we will replace later during the installation# with the actual path to the installation.TCL_LIBRARY=$dist/payload/lib/tcl8.5TK_LIBRARY=$dist/payload/lib/tk8.5LD_LIBRARY_PATH=$dist/payload/libDYLD_LIBRARY_PATH=$dist/payload/libSHLIB_PATH=$dist/payload/libLIBPATH=$dist/payload/libexport TCL_LIBRARY TK_LIBRARY LD_LIBRARY_PATH DYLD_LIBRARY_PATH SHLIB_PATH LIBPATH# Determine availability of X and choose an installer based on that# information.if tty -s; then # Do we have a terminal? if [ x"$DISPLAY" != x -a x"$xterm_loop" = x ]; then # No, but do we have X? # Check for valid DISPLAY variable if [ `echo exit | $dist/payload/bin/wish8.5 2>&1 | grep fail | wc -l` -eq 0 ] then echo _____________________________________________ echo Launching graphical installer on $DISPLAY echo ... $dist/payload/bin/wish8.5 $dist/install.tk "$@" # pwd = inside the unpacked distribution ... # go one level up and remove the directory #cd .. #rm -rf $dist exit fi fifi# No X, use the terminal based installer $dist/payload/bin/tclsh8.5 $dist/install.tcl "$@"# pwd = inside the unpacked distribution ...# go one level up and remove the directory#cd ..#rm -rf $distexit
尝试过将路径添加到PATH,更改过install.sh权限,都无法解决,但在另一台redhat4.8上却可以正常安装
看错误应该是缺了依赖项目,这里的提示 “No such file or directory” 是 tclsh8.5 给出的,可执行文件是有的。
可以用ldd看下是缺少了什么,然后你的脚本里面设置了LIB的环境变量,所以你可能应该直接把ldd写到脚本里面,看一下它的输出是什么。
ldd ./payload/bin/tclsh8.5
Linux 版本: ubuntu-22.04.4-desktop-amd64.iso 运行在 VMware 安装 nvm 时无反馈: 检查 DNS ,发现映射地址到了本地: 根据 gpt 建议尝试重启服务 -> 无效: sudo systemctl restart NetworkManager.service 我的检查步骤有问题吗?应该如何做呢? 我现在应该怎么做才能正常安装 nvm 呢?
clarations -std=c++11 -c /tmp/swoole-4.8.6/src/protocol/websocket.cc -fPIC -DPIC -o src/protocol/.libs/websocket.o Assembler messages: Error: can't open /tmp/ccz3gtNM.s for reading: No such file or di
我有一个maven项目,它有一个名为“BlahITCase”的集成测试。该测试目前失败,进而导致“mvn安装”失败。这是预期的行为吗?我的理解是,单元测试(surefire)失败会导致构建失败,但集成测试(使用故障保护)失败不会。 我在我的pom的构建插件部分有以下内容: 注释出验证目标似乎给了我想要的行为。
试图安装卡玛 就会产生警告 最后,似乎没有因果报应 然而,这似乎是一种因果报应 还有builerror.log档案 我需要安装python才能与业力工作还是有其他问题?提前感谢任何帮助!
在设备中运行android,并报告以下错误 正在安装APK的应用程序调试。应用程序:调试10:53:48 E/1765594925:上传应用程序调试时出错。apk:未知故障([CDS]关闭[0])无法安装/Users/xiaotian/Desktop/wanme\u rn/android/app/build/outputs/apk/app debug。apk公司 失败:生成失败,出现异常。 > 通
你好,而试图在真正的Android设备上运行我的Flutter应用程序im得到以下错误 我尝试:更新Android Studioflutter升级flutter酒吧获取...... 但还没有找到解决方案,希望任何人都能帮忙