RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

System.dllnotfoundexception

ShaoKhan

Sorceror
Hoi community,

i've setup a new RunUO with Mono on my 64bit Ubuntu System.
It starts without problems.
If i enter a admin command like [admin the server crashes with this exception.

Error:
System.DllNotFoundException: libz.so.1.2.3.4
at (wrapper managed-to-native) Server.Network.CompressorUnix64:compress2 (byte[],ulong&,byte[],int,Server.Network.ZLibQuality)
at Server.Network.CompressorUnix64.Compress (System.Byte[] dest, System.Int32& destLength, System.Byte[] source, Int32 sourceLength, ZLibQuality quality) [0x00000]
at Server.Network.Compression.Pack (System.Byte[] dest, System.Int32& destLength, System.Byte[] source, Int32 sourceLength, ZLibQuality quality) [0x00000]
at Server.Network.DisplayGumpPacked.WritePacked (Server.Network.PacketWriter src) [0x00000]
at Server.Network.DisplayGumpPacked.Flush () [0x00000]
at Server.Gumps.Gump.Compile (Server.Network.NetState ns) [0x00000]
at Server.Gumps.Gump.SendTo (Server.Network.NetState state) [0x00000]
at Server.Mobile.SendGump (Server.Gumps.Gump g, Boolean throwOnOffline) [0x00000]
at Server.Mobile.SendGump (Server.Gumps.Gump g) [0x00000]
at Server.Gumps.AdminGump.Admin_OnCommand (Server.Commands.CommandEventArgs e) [0x00000]
at Server.Commands.CommandSystem.Handle (Server.Mobile from, System.String text, MessageType type) [0x00000]
at Server.Mobile.DoSpeech (System.String text, System.Int32[] keywords, MessageType type, Int32 hue) [0x00000]
at Server.Mobiles.PlayerMobile.DoSpeech (System.String text, System.Int32[] keywords, MessageType type, Int32 hue) [0x00000]
at Server.Network.PacketHandlers.UnicodeSpeech (Server.Network.NetState state, Server.Network.PacketReader pvSrc) [0x00000]
at Server.Network.MessagePump.HandleReceive (Server.Network.NetState ns) [0x00000]
at Server.Network.MessagePump.Slice () [0x00000]
at Server.Core.Main (System.String[] args) [0x00000]


I hope anyone can help me please.

Thank's.
 

ShaoKhan

Sorceror
SOLVED ...

the problem was the libz.so in the tutorial.

FYI:

echo "<configuration>" >> RunUO.exe.config
echo " <dllmap dll=\"libz\" target=\"libz.so.1.2.5\"/>" >> RunUO.exe.config
echo "</configuration>" >> RunUO.exe.config

locate your libz.so on your server and replace with the rigth path in your config.

echo "<configuration>" >> RunUO.exe.config
echo " <dllmap dll=\"libz\" target=\"//usr/lib/libz.so\"/>" >> RunUO.exe.config
echo "</configuration>" >> RunUO.exe.config

All done .... thanks for your help. i hope my solution is helpful too.
 
Top