PDA

View Full Version : Did a fresh install, no server binaries found


denjoy
11-01-2020, 09:19 PM
So I wipe my VM (Fedora) every 6 months or so and do a reinstall of EQEmu, but today after Akkadius's install script finished I noticed all the symlinks to the server binaries were broken because the binaries didn't exist.

Anyone else having this issue? It's like they aren't being compiled or something.

edit:
I just noticed if I go into ~/server_source/Server/build and do a 'make clean' then 'make' the build fails at 50%:
[ 49%] Building C object libs/zlibng/CMakeFiles/zlib.dir/gzclose.c.o
[ 50%] Building C object libs/zlibng/CMakeFiles/zlib.dir/gzlib.c.o
[ 50%] Building C object libs/zlibng/CMakeFiles/zlib.dir/gzread.c.o
[ 50%] Building C object libs/zlibng/CMakeFiles/zlib.dir/gzwrite.c.o
[ 50%] Linking C shared library libz.so
/usr/bin/ld: CMakeFiles/zlib.dir/arch/x86/deflate_quick.c.o:/home/eqemu/server_source/Server/libs/zlibng/arch/x86/deflate_quick.c:168: multiple definition of `static_ltree'; CMakeFiles/zlib.dir/trees.c.o:/home/eqemu/server_source/Server/libs/zlibng/trees.h:6: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [libs/zlibng/CMakeFiles/zlib.dir/build.make:449: libs/zlibng/libz.so.1.2.11] Error 1
make[1]: *** [CMakeFiles/Makefile2:712: libs/zlibng/CMakeFiles/zlib.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
[eqemu@localhost build]$

joligario
11-01-2020, 09:57 PM
Try turning off zlib build in the cmake file.

denjoy
11-01-2020, 11:48 PM
I installed a Debian 10.6.0 VM and the EQEmu install worked perfectly. Not sure why Fedora 32 (EQEmu compiled on this before) and Fedora 33 both fail.

hayward6
11-02-2020, 08:18 AM
You're good to go then? I've always found the best luck with Debian personally, but most of my issues have come from trying to build on the latest release, no matter the OS. So I tend to stay back a few versions.

As far as rebuilding every 6 months, is that just a personal choice? As long as you keep up with changes, upgrading can be very simple.