Page 1 of 1

Building on Solaris 11.4

Posted: Thu Apr 07, 2022 9:04 pm
by WePutOurFaithIn
There are a few special conditions to get UnrealIRCd running on Solaris. This is what it takes:

1. GCC-11 is a must
2. In /usr/include/string.h comment out the lines for b64_encode and b_64decode. Solaris has its own version of these functions and UnrealIRCd will not build if this definition is in place.
3. Argon2 needs this environment to build:
export LD_LIBRARY_PATH=~/unrealircd-6.0.3/extras/argon2/lib
export LDFLAGS=-L~/unrealircd-6.0.3/extras/argon2/lib
4. After 'make/gmake install' copy the files from the argon lib dir to your ~/unrealircd/lib dir
That's it.