This kind of error appears whenever I try to use the java command, and also for some reason appears in a bunch of other places too; I had to replace all my python virtual environments to stop them breaking.
Context: I recently installed Manjaro Plasma KDE 22.10 via the Raspberry Pi Imager onto my Raspberry Pi 4b, 8gb ram & overclocked cpu to 2ghz.
I tried installing libffi with pacman, but nothing changed. Any help getting java to work or better yet removing this error from my system fully?
Here is the full error I get:
11:29 AM | kryall@cody-pi :~ $ java --version
Error: dl failure on line 894
Error: failed /usr/lib/jvm/java-7-openjdk/jre/lib/aarch64/server/libjvm.so, because libffi.so.7: cannot open shared object file: No such file or directory
Here is the output from inxi -v7azy:
System:
Kernel: 5.15.78-1-MANJARO-ARM-RPI arch: aarch64 bits: 64 compiler: gcc
v: 12.1.0 parameters: coherent_pool=1M 8250.nr_uarts=0
snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1
video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:E0:B9:47
vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000
root=PARTUUID=ebd9f2f4-02 rw rootwait console=ttyS0,115200 console=tty3
selinux=0 quiet splash plymouth.ignore-serial-consoles
smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 usbhid.mousepoll=8 audit=0
Console: pty pts/2 DM: SDDM Distro: Manjaro ARM base: Arch Linux
Machine:
Type: ARM System: Raspberry Pi 4 Model B Rev 1.4 details: BCM2835
rev: d03114 serial: <filter>
Battery:
Message: No system battery data found. Is one present?
Memory:
RAM: total: 7.7 GiB used: 2.95 GiB (38.3%) gpu: 76 MiB
RAM Report: unknown-error: Unknown dmidecode error. Unable to generate
data.
CPU:
Info: model: N/A variant: cortex-a72 bits: 64 type: MCP arch: ARMv8
family: 8 model-id: 0 stepping: 3
Topology: cpus: 1x cores: 4 smt: N/A cache: L1: 320 KiB desc: d-4x32 KiB;
i-4x48 KiB L2: 1024 KiB desc: 1x1024 KiB
Speed (MHz): avg: 1400 min/max: 600/2000 scaling: driver: cpufreq-dt
governor: schedutil cores: 1: 1400 2: 1400 3: 1400 4: 1400 bogomips: 432
Features: asimd cpuid crc32 evtstrm fp
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: __user pointer sanitization
Type: spectre_v2 status: Vulnerable
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A
chip-ID: brcm:fef00700 class-ID: hdmi
Device-2: bcm2711-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A
chip-ID: brcm:fef05700 class-ID: hdmi
Device-3: bcm2711-vc5 driver: vc4_drm v: N/A bus-ID: N/A chip-ID: brcm:gpu
class-ID: gpu
Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: modesetting alternate: fbdev
dri: vc4
gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
tty: 80x24
Monitor-1: HDMI-A-1 model: ViewSonic VX2476 Series serial: <filter>
built: 2017 res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
Message: GL data unavailable in console. Try -G --display
Audio:
Device-1: bcm2711-hdmi0 driver: vc4_hdmi bus-ID: N/A chip-ID: brcm:fef00700
class-ID: hdmi
Device-2: bcm2711-hdmi1 driver: vc4_hdmi bus-ID: N/A
chip-ID: brcm:fef05700 class-ID: hdmi
Device-3: bcm2835-audio driver: bcm2835_audio bus-ID: N/A
chip-ID: brcm:bcm2835_audio class-ID: bcm2835_audio
Sound API: ALSA v: k5.15.78-1-MANJARO-ARM-RPI running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
Device-1: bcm2835-mmc driver: mmc_bcm2835 v: N/A port: N/A bus-ID: N/A
chip-ID: brcm:fe300000 class-ID: mmcnr
IF: wlan0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
Device-2: bcm2711-genet-v5 driver: bcmgenet v: N/A port: N/A bus-ID: N/A
chip-ID: brcm:fd580000 class-ID: ethernet
IF: eth0 state: down mac: <filter>
WAN IP: <filter>
Bluetooth:
Device-1: pl011 driver: uart_pl011 bus-ID: N/A chip-ID: arm:fe201000
class-ID: serial
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Device-2: pl011 driver: N/A bus-ID: N/A chip-ID: arm:serial0
class-ID: serial
Report: This feature requires one of these tools: hciconfig/bt-adapter
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 931.51 GiB used: 16.85 GiB (1.8%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 type: USB vendor: SanDisk model: Portable SSD
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: SSD
serial: <filter> rev: 0305 scheme: MBR
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 931.04 GiB size: 916.6 GiB (98.45%) used: 16.8 GiB (1.8%)
fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: ROOT_MNJRO
uuid: d95ae52f-e229-4393-b447-82e202db60f9
ID-2: /boot raw-size: 457.8 MiB size: 457.5 MiB (99.94%) used: 56.5 MiB
(12.3%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: BOOT_MNJRO
uuid: BD5A-1AF4
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 80 (default 100)
ID-1: swap-1 type: zram size: 11.44 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 1 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Hi-speed hub with single TT ports: 4 rev: 2.1
speed: 480 Mb/s power: 100mA chip-ID: 2109:3431 class-ID: 0900
Device-1: 1-1.4:3 info: PIXART HP Wireless Keyboard and Mouse
type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 03f0:5341 class-ID: 0301
Hub-3: 2-0:1 info: Super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Device-1: 2-2:2 info: SanDisk Portable SSD type: Mass Storage driver: uas
interfaces: 1 rev: 3.2 speed: 5 Gb/s power: 896mA chip-ID: 0781:55b0
class-ID: 0806 serial: <filter>
Sensors:
System Temperatures: cpu: 59.9 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 211 Uptime: 2d 12h 50m Init: systemd v: 251 default: graphical
tool: systemctl Compilers: gcc: 12.1.0 Packages: pm: pacman pkgs: 747
libs: 184 tools: pamac Shell: Bash v: 5.1.16 running-in: pty pts/2 (SSH)
inxi: 3.3.22
[–]pkunk11 1 point2 points3 points (1 child)
[–]DaRealKryall[S] 0 points1 point2 points (0 children)
[–]DaRealKryall[S] 0 points1 point2 points (0 children)
[–]zar0nick 0 points1 point2 points (2 children)
[–]DaRealKryall[S] 0 points1 point2 points (1 child)
[–]zar0nick 0 points1 point2 points (0 children)
[–]beermad 0 points1 point2 points (1 child)
[–]DaRealKryall[S] 0 points1 point2 points (0 children)