【问题标题】:raspistill returning file not foundraspistill 返回文件未找到
【发布时间】:2021-02-14 09:59:12
【问题描述】:

我正在尝试使用 64 位版本的 raspbian(可以在这里找到:https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370

我下载了它,安装了所有东西,运行了我的更新,然后打开了相机。但是当我尝试运行它时,PI 只是回馈

bash: /opt/vc/bin/raspistill: No such file or directory

当我执行 ls 时,我可以看到目录很好:

pi@raspberrypi:/opt/vc/bin $ ls
containers_check_frame_int    containers_test       dtoverlay-pre  raspiyuv
containers_datagram_receiver  containers_test_bits  dtparam        tvservice
containers_datagram_sender    containers_test_uri   edidparser     vcdbg
containers_dump_pktfile       containers_uri_pipe   mmal_vc_diag   vcgencmd
containers_rtp_decoder        dtmerge               raspistill     vchiq_test
containers_stream_client      dtoverlay             raspivid       vcmailbox
containers_stream_server      dtoverlay-post        raspividyuv    vcsmem

当我查看权限时,每个人都有读取/执行权限:

-rwxr-xr-x 1 root root 142397 Nov  1 16:25 raspistill

我有点不知所措 - 文件就在那里,为什么当我尝试从命令行调用它时找不到它?

【问题讨论】:

  • 尝试运行type raspistill 以查看执行raspistill 时实际运行的内容当您找到实际运行的内容时,尝试在其上运行file XYZ 以查看它是否是脚本。如果是,请尝试使用bash -xv THATSCRIPT 运行它以跟踪其执行情况。
  • 有什么更新吗?也有这个问题,下面附上单独的命令及其输出
  • ubuntu64@ubuntu:~/dev/raspberry-pi-userland$ type raspistill raspistill 被散列(/opt/vc/bin/raspistill)
  • ubuntu64@ubuntu:~/dev/raspberry-pi-userland$ 文件 /opt/vc/bin/raspistill /opt/vc/bin/raspistill:ELF 32 位 LSB 可执行文件,ARM,EABI5版本 1 (SYSV),动态链接,解释器 /lib/ld-linux.so.3,用于 GNU/Linux 3.1.9,带有 debug_info,未剥离
  • 我的树莓派 4 64 也有同样的问题

标签: raspberry-pi raspbian raspberry-pi4 raspistill


【解决方案1】:

不幸的是,它看起来仍然像 MMAL 用户空间(在撰写本文时)has some unresolved issues 使用 64 位树莓派操作系统,所以它被禁用了。

但是,可以使用docker or cherry-build 32bit packages 作为解决方法。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-11-21
    • 2015-06-15
    • 2021-07-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-06
    • 2018-04-10
    相关资源
    最近更新 更多