Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

v1.0 Linux: libfmod.so too short

A topic by ikuyo created Jan 30, 2024 Views: 325 Replies: 4
Viewing posts 1 to 3

Tested on Kubuntu 22.04 LTS. Game never opens and the following error log is shown:


Celeste 64 v.1.0.0
Error Log (1/29/2024 9:36:44 PM)
Call Stack:
System.DllNotFoundException: Unable to load shared library '/home/ema/Downloads/Celeste64-linux-x64/libfmod.so' 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/ema/Downloads/Celeste64-linux-x64/libfmod.so: file too short    at System.Runtime.InteropServices.NativeLibrary.<LoadFromPath>g____PInvoke|1_0(UInt16*, Int32)    at System.Runtime.InteropServices.NativeLibrary.LoadFromPath(String, Boolean )    at System.Runtime.InteropServices.NativeLibrary.Load(String)    at Celeste64.Audio.<>c__DisplayClass7_0.<LoadDynamicLibraries>b__0(String name, Assembly assembly, Nullable`1 dllImportSearchPath) in C:\Users\thenb\Projects\Celeste64_Dev\Source\Audio\Audio.cs:line 82    at System.Runtime.InteropServices.NativeLibrary.LoadLibraryCallbackStub(String, Assembly, Boolean, UInt32)    at FMOD.Memory.FMOD5_Memory_GetStats(Int32& , Int32& , Boolean)    at FMOD.Memory.GetStats(Int32& , Int32& , Boolean ) in C:\Users\thenb\Projects\Celeste64_Dev\Source\Audio\FMOD\fmod.cs:line 995    at Celeste64.Audio.Init() in C:\Users\thenb\Projects\Celeste64_Dev\Source\Audio\Audio.cs:line 40    at Celeste64.Game.Startup() in C:\Users\thenb\Projects\Celeste64_Dev\Source\Game.cs:line 76    at Foster.Framework.App.Run(String, Int32, Int32, Boolean )    at Foster.Framework.App.Run[T](String, Int32, Int32, Boolean )    at Celeste64.Program.Main(String[]) in C:\Users\thenb\Projects\Celeste64_Dev\Source\Program.cs:line 19 Game Output: Celeste 64 v.1.0.0 Foster: v0.1.13 Platform: Ubuntu 22.04.3 LTS (X64) Framework: .NET 8.0.0 SDL: v2.28.5 OpenGL: v4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1, AMD Radeon RX 570 Series (polaris10, LLVM 15.0.7, DRM 3.42, 5.15.0-92-generic) FMOD Bindings: v20218

image.png delete libfmod.so and libfmodstudio.so

look in your folder for libfmod.so.XX.XX and libfmodstudio.so.XX.XX, remove the .XX.XX from the name

yea, I only saw your post after i had shared mine. I got it working following those instructions, thanks!

np

the intention was probably to symlink the libraries, like so:

ln -sf libfmod.so.13.18 libfmod.so
ln -sf libfmod.so.13.18 libfmod.so.13
ln -sf libfmodstudio.so.13.18 libfmodstudio.so
ln -sf libfmodstudio.so.13.18 libfmodstudio.so.13