Jump to content
  • 0

Libmawt.so: libcups.so.2: Error - Arch Linux


Question

Posted

Title: Libmawt.so: libcups.so.2: Error - Arch Linux

Version: 3.1.2

OS: Arch Linux

Java Version: jre7-openjdk-headless (Java 7)

Description of Problem:

Error only occurs in tekkit, regular bukkit servers function fine. Disabling all the mods in the "mods" folder gets rid of the error. I have tried reinstalling java, but the error persists. I checked in the mentioned directory, and libmawt.so is there.

Error Messages:

03:11:43 [sEVERE] java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/i386/headless/libmawt.so: libcups.so.2: cannot open shared object file: No such file or directory

Error Log:


03:10:45 [WARNING] Configuration for mod_ComputerCraft.enableAPI_http found value 0 outside acceptable range 4.9E-324,1.7976931348623157E308

03:11:42 [iNFO] Done (53.006s)! For help, type "help" or "?"

03:11:43 [iNFO] [Railcraft] Loaded 0 saved Anchors

03:11:43 [sEVERE] java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/i386/headless/libmawt.so: libcups.so.2: cannot open shared object file: No such file or directory

03:11:44 [sEVERE] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)

03:11:44 [sEVERE] 	at java.lang.Runtime.load0(Runtime.java:792)

03:11:44 [sEVERE] 	at java.lang.System.load(System.java:1059)

03:11:44 [sEVERE] 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)

03:11:44 [sEVERE] 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)

03:11:44 [sEVERE] 	at java.lang.Runtime.loadLibrary0(Runtime.java:845)

03:11:44 [sEVERE] 	at java.lang.System.loadLibrary(System.java:1084)

03:11:44 [sEVERE] 	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)

03:11:44 [sEVERE] 	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)

03:11:44 [sEVERE] 	at java.security.AccessController.doPrivileged(Native Method)

03:11:44 [sEVERE] 	at java.awt.Toolkit.loadLibraries(Toolkit.java:1648)

03:11:44 [sEVERE] 	at java.awt.Toolkit.<clinit>(Toolkit.java:1670)

03:11:44 [sEVERE] 	at java.awt.Component.<clinit>(Component.java:595)

03:11:44 [sEVERE] 	at net.minecraft.server.mod_WirelessRedstoneCore.onTickInGame(mod_WirelessRedstoneCore.java:23)

03:11:44 [sEVERE] 	at net.minecraft.server.BaseMod.doTickInGame(BaseMod.java:34)

03:11:44 [sEVERE] 	at cpw.mods.fml.common.modloader.BaseModTicker.sendTick(BaseModTicker.java:95)

03:11:44 [sEVERE] 	at cpw.mods.fml.common.modloader.BaseModTicker.tickBaseMod(BaseModTicker.java:83)

03:11:44 [sEVERE] 	at cpw.mods.fml.common.modloader.BaseModTicker.tickEnd(BaseModTicker.java:55)

03:11:44 [sEVERE] 	at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:22)

03:11:44 [sEVERE] 	at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:185)

03:11:44 [sEVERE] 	at cpw.mods.fml.server.FMLBukkitHandler.onServerPostTick(FMLBukkitHandler.java:631)

03:11:44 [sEVERE] 	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:607)

03:11:44 [sEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

03:11:44 [sEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

03:11:44 [sEVERE] Unexpected exception

java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-openjdk/jre/lib/i386/headless/libmawt.so: libcups.so.2: cannot open shared object file: No such file or directory

	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)

	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)

	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)

	at java.lang.Runtime.load0(Runtime.java:792)

	at java.lang.System.load(System.java:1059)

	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)

	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)

	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)

	at java.lang.Runtime.loadLibrary0(Runtime.java:845)

	at java.lang.System.loadLibrary(System.java:1084)

	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)

	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.awt.Toolkit.loadLibraries(Toolkit.java:1648)

	at java.awt.Toolkit.<clinit>(Toolkit.java:1670)

	at java.awt.Component.<clinit>(Component.java:595)

	at net.minecraft.server.mod_WirelessRedstoneCore.onTickInGame(mod_WirelessRedstoneCore.java:23)

	at net.minecraft.server.BaseMod.doTickInGame(BaseMod.java:34)

	at cpw.mods.fml.common.modloader.BaseModTicker.sendTick(BaseModTicker.java:95)

	at cpw.mods.fml.common.modloader.BaseModTicker.tickBaseMod(BaseModTicker.java:83)

	at cpw.mods.fml.common.modloader.BaseModTicker.tickEnd(BaseModTicker.java:55)

	at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:22)

	at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:185)

	at cpw.mods.fml.server.FMLBukkitHandler.onServerPostTick(FMLBukkitHandler.java:631)

	at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:607)

	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)

	at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2 answers to this question

Recommended Posts

  • 0
Posted

libmawt.so is trying to open libcups.so.2, it's complaining that libcpus.so.2 isn't there so libmawt.so can't open it. I don't know why anything in tekkit would require cups since cups is for printing mostly but try installing cups or work out what package on your linux distro supplies libcups.so.2

  • 0
Posted

Thanks, after grabbing libcups and fontconfig it worked fine. (After I installed libcups the same error happened asking for libfontconfig.so.1, so I installed fontconfig.) It seems a little unnecessary to have libraries for a gui when my server doesn't even have a monitor, but it worked. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...