libpng in GNUmakefile
Posted: Sun Mar 29, 2020 5:39 pm
Greetings!
I cloned the Master branch, initiated and checked-out the submodules, build with release-deployment target, created a package with pkg-posix target and installed the 1.89 version.
When I tried to run it crashed:
Now, oolite-deps has libpng14.so.14, so I think the libpng16 from my distro (LinuxMint 19.3) was linked to the oolite binary.
Looking at GNUmakefile, around line 72:
I changed it to:
rebuild, reinstalled and now it works...
I cloned the Master branch, initiated and checked-out the submodules, build with release-deployment target, created a package with pkg-posix target and installed the 1.89 version.
When I tried to run it crashed:
Code: Select all
./oolite.app/oolite: /home/dybal/GNUstep/Applications/Oolite/oolite-deps/lib/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/x86_64-linux-gnu/libpng16.so.16)
Erk. It looks like Oolite died with an error. When making an error
report, please copy + paste the log above into the report.
(Press Ctrl-C to continue)
Looking at GNUmakefile, around line 72:
Code: Select all
ADDITIONAL_OBJC_LIBS = $(OOLITE_SHARED_LIBS) -lGLU -lGL -lX11 -lSDL -lgnustep-base -L$(LIBJS_DIR) -l$(LIBJS) -lopenal -lz -lvorbisfile -lpng `nspr-config --libs` -lstdc++
Code: Select all
ADDITIONAL_OBJC_LIBS = $(OOLITE_SHARED_LIBS) -lGLU -lGL -lX11 -lSDL -lgnustep-base -L$(LIBJS_DIR) -l$(LIBJS) -lopenal -lz -lvorbisfile -lpng14 `nspr-config --libs` -lstdc++