When building oolite on linux against libpng 1.6.x one issue arises at runtime:
The submodule oolite-linux-dependencies has png.h & pngconf.h in its include folder .
Some parts of oolite use this file and request libpng 1.4.7 at runtime, making the menus unreadable.
Note that the linker correctly links to libpng 1.6 .
Removing those files before building solves the issue completely .
viewtopic.php?t=21909 has a lengthy discussion about these files.
Remove legacy libpng 1.4 files from submodule
Moderators: winston, another_commander
Remove legacy libpng 1.4 files from submodule
OS : Arch Linux 64-bit - rolling release
From: The Netherlands, Europe
OXPs : My user page (needs updating)
Retired, occasionally active
From: The Netherlands, Europe
OXPs : My user page (needs updating)
Retired, occasionally active
Re: Remove legacy libpng 1.4 files from submodule
You are right. The modern build only uses the mozilla folder in there, so much of it is outdated.Lone_Wolf wrote: ↑Sat Jan 10, 2026 2:58 pmWhen building oolite on linux against libpng 1.6.x one issue arises at runtime:
The submodule oolite-linux-dependencies has png.h & pngconf.h in its include folder .
Some parts of oolite use this file and request libpng 1.4.7 at runtime, making the menus unreadable.
Note that the linker correctly links to libpng 1.6 .
Removing those files before building solves the issue completely .
viewtopic.php?t=21909 has a lengthy discussion about these files.
