Startup Issue with Eco - Server not starting

System Information

Field Value
Operating System Linux - Ubuntu 24.04 on x86_64
Product AMP ‘Callisto’ v2.5.0.8 (Mainline)
Virtualization QEMU_KVM
Application Eco
Module GenericModule
Running in Container No
Current State Stopped

Problem Description

Issue

Getting a lot of errors starting with this one.

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/liblibgdiplus: cannot open shared object file: No such file or directory

at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)

at System.Drawing.SafeNativeMethods.Gdip…cctor()

Outer Exceptions:

One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)))

One or more errors occurred. (One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.))

One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)

The type initializer for ‘Gdip’ threw an exception.

[03:13:14] Shutdown finished

[03:13:14] Errors report:

Can’t find ecopedia link ‘CourtOfAppealsItem’ (referenced on page ‘Government’): 1

Can’t find ecopedia link ‘HomesteadSupportClaimItem’ (referenced on page ‘Settlements’): 1

Failed to start the server. Exception was Exception: DllNotFoundException

Message:Unable to load shared library ‘libgdiplus’ or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you’re using glibc, consider setting the LD_DEBUG environment variable:

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/libgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/libgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/liblibgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/liblibgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/libgdiplus: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/libgdiplus: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/liblibgdiplus: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/liblibgdiplus: cannot open shared object file: No such file or directory

Source:System.Drawing.Common

System.DllNotFoundException: Unable to load shared library ‘libgdiplus’ or one of its dependencies. In order to help diagnose loading problems, consider using a tool like strace. If you’re using glibc, consider setting the LD_DEBUG environment variable:

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/libgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/libgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/liblibgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/liblibgdiplus.so: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/libgdiplus: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/libgdiplus: cannot open shared object file: No such file or directory

/home/amp/.net/EcoServer/ZTUE1sI7wMCdGZWBhGjf10Ml_19qr_o=/liblibgdiplus: cannot open shared object file: No such file or directory

/home/amp/.ampdata/instances/Eco-Neverware01/eco/739590/liblibgdiplus: cannot open shared object file: No such file or directory

at System.Drawing.SafeNativeMethods.Gdip.GdiplusStartup(IntPtr& token, StartupInput& input, StartupOutput& output)

at System.Drawing.SafeNativeMethods.Gdip…cctor()

Outer Exceptions:

One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)))

One or more errors occurred. (One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.))

One or more errors occurred. (The type initializer for ‘Gdip’ threw an exception.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.) (Object reference not set to an instance of an object.)

The type initializer for ‘Gdip’ threw an exception.

Reproduction Steps

  • Checked logs and reinstalled
  • Googled the issue
  • Read the server config doc

Install libgdiplus via apt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.