我是 solana 和 rust 的新手,最近我从这个仓库安装了 example-helloworld - https://github.com/solana-labs/example-helloworld。每当我尝试使用 npm 脚本构建 rust 程序或转到 rust 程序目录手动运行Cargo build-bpf 时,它都会说 - 没有这样的子命令:+bpf。终端错误图像
我也尝试过命令which Cargo-build-bpf,它没有错误。但是我也尝试使用Cargo build手动构建,它会引发错误。
所以我在我的PC硬盘上安装了parrot OS,之后我更新了漏洞系统并尝试运行MSFCONSOLE
。执行该命令后,我收到此错误:
Bundler failed to load and return this error:
cannot load such file -- bundler/setup
you may need to uninstall or upgrade bundler
Run Code Online (Sandbox Code Playgroud)
在此之后我卸载了 bundler 并再次安装它没有用。
我也尝试升级它,但它说所有软件包都是最新的。
我gem install bundler
也成功地运行了它,安装了 bundler 和 1 gem 但之后它在我运行后弹出相同的消息msfconsole
这是解决这个问题的正确方法吗..?
我正在尝试在以下机器上运行 Quartus 13.0:
parrot 4.18.0-parrot10-amd64 #1 SMP Debian 4.18.10-1parrot10 (2018-10-06) x86_64 GNU/Linux.
Run Code Online (Sandbox Code Playgroud)
我已经完成了 Quartus 13.0 的安装,当我尝试执行它时出现以下错误:
quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
Run Code Online (Sandbox Code Playgroud)
我已经阅读了堆栈溢出和其他网站中的所有相关问题,但没有人为我工作。
在寻找那个文件时,我找到了它。我试图做一个硬链接,但它也不起作用。搜索结果:
??[pepbd@parrot]?[~]
???? $ls -ld $(locate -r libpng.*\.so.*)
lrwxrwxrwx 1 root root 19 nov 19 17:09 /usr/lib/x86_64-linux-gnu/libpng16.so.16 -> libpng16.so.16.34.0
-rw-r--r-- 1 root root 210864 jul 10 13:17 /usr/lib/x86_64-linux-gnu/libpng16.so.16.34.0
-rw-r--r-- 1 root root 18272 oct 14 21:59 /usr/lib/x86_64-linux-gnu/vlc/plugins/codec/libpng_plugin.so
Run Code Online (Sandbox Code Playgroud) 我是 Linux 新手,正在使用 Parrot Os(家庭版)。我正在尝试在同一台机器上安装 Docker。但一直未能如愿。
这是为了运行MySQL,我也认为它对我以后会有用。我尝试使用 APT 包管理器安装 docker,如下所示:
sudo apt-get install docker
Run Code Online (Sandbox Code Playgroud)
安装完成,但之后当我尝试启动服务时,它说
Failed to start docker.service: Unit docker.service not found.
Run Code Online (Sandbox Code Playgroud)
由于我是新手,请给出详细的答案或放置链接以便我自己阅读?谢谢。
parrot-os ×4
bundler ×1
debian-based ×1
docker ×1
libpng ×1
metasploit ×1
quartus ×1
rubygems ×1
rust ×1
rust-cargo ×1
solana ×1