Issue installing Maltego (Fedora 38)

Hello, I ran into a issue installing Maltego on Fedora 38.Followed these instructions and downloaded from the official site but I ran into this.

$ maltego egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E WARNING: package com.apple.eawt not in java.desktop java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/lib/libawt_xawt.so at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398) at java.base/java.lang.Runtime.load0(Runtime.java:755) at java.base/java.lang.System.load(System.java:1953) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2403) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818) at java.base/java.lang.System.loadLibrary(System.java:1989) at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:67) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at java.desktop/sun.awt.X11GraphicsEnvironment.initStatic(X11GraphicsEnvironment.java:64) at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:59) at java.desktop/sun.awt.PlatformGraphicsInfo.createGE(PlatformGraphicsInfo.java:36) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:93) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:84) at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:106) at org.netbeans.core.startup.Main.start(Main.java:228) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) at java.base/java.lang.Thread.run(Thread.java:833)

1 Like

Hi @gigaxavo , welcome to the community.

You’re probably missing a package that provides this shared library. Try this and install the package you think you need:

sudo dnf repoquery --whatprovides '*/libawt_xawt.so'
3 Likes

Or simply do this to install a missing file if you know the path

sudo dnf install /usr/lib/jvm/java-17-openjdk-17.0.8.0.7-1.fc38.x86_64/lib/libawt_xawt.so
1 Like

You also could tell dnf to install that file with sudo dnf install */libawt_xawt.so and if it gives multiple package names then install only the one you think is appropriate.

1 Like

Tried what @computersavvy said but still there is no change.I got the same response as before.

I got this error whenI tried your way.

AMDGPU 5.5.3 repository                                                                                                                                                                                       438  B/s | 533  B     00:01    
Errors during downloading metadata for repository 'amdgpu':
  - Status code: 404 for https://repo.radeon.com/amdgpu/5.5.3/rhel//main/x86_64/repodata/repomd.xml (IP: 13.82.220.49)
Error: Failed to download metadata for repo 'amdgpu': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Since this issue seems not related to the amdgpu in any way you might try adding
--disablerepo=amdgpu into the dnf command line so that error no longer appears.

1 Like

Tried disabling the repo but nothing happened.

Solved the issue by opening the Software GUI and disabeling the repo, that seemed to only work for some odd reason.Then I just looked up what I was missing using sudo dnf repoquery --whatprovides '*/libawt_xawt.so' and Maltego works fine now.Thank you all for your advice and time.