With no links provide what should I be looking for on GitHub to find this README.md file - a link would be appreciated."Install the source code modules from GitHub repo (the Python modules, required libraries. webpages, and subfolders). You can find more details in the README.md file on GitHub."
There's a leading slash on /opt/vc... (not opt/vc...).
Code: Select all
Build: Debug in MagPiHelloTriangle (compiler: GNU GCC Compiler)
/usr/bin/ld: ../../../../../../opt/vc/lib/libEGL_static.a(khrn_client_platform_linux.c.o)||undefined reference to symbol 'pthread_getspecific@@GLIBC_2.4'|
error: ld returned 1 exit status|
Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Code: Select all
pi@raspberrypi:/ $ sudo apt install mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dracut-core
The following NEW packages will be installed:
mdadm
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/400 kB of archives.
After this operation, 1,125 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package mdadm.
(Reading database ... 156741 files and directories currently installed.)
Preparing to unpack .../archives/mdadm_4.1-1_armhf.deb ...
Unpacking mdadm (4.1-1) ...
Setting up mdadm (4.1-1) ...
W: mdadm: failed to load MD subsystem.
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-5+rpi1) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
pi@raspberrypi:/ $ sudo mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm: Note: this array has metadata at the start and
may not be suitable as a boot device. If you plan to
store '/boot' on this device please ensure that
your boot-loader understands md/v1.x metadata, or use
--metadata=0.90
Continue creating array? y
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.19.57-v7l+/modules.dep.bin'
modprobe: FATAL: Module md_mod not found in directory /lib/modules/4.19.57-v7l+
mdadm: Fail create md0 when using /sys/module/md_mod/parameters/new_array
mdadm: unexpected failure opening /dev/md0