I am trying to compile scid 5.1 on OpenBSD 7.7.
I figured out that to invoke the compiler on OpenBSD, I had to change g++ to eg++ in the Makefile
and then call gmake. The .o files are compiled but the linker throws the following error:
ld: error: unable to find library -ldl
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:102: scid] Error 1
Ryzen-taichi$
I googled but could not find a solution.
Any ideas?
I contacted the maintainer about this issue. He told me that the quick fix is to remove the
-ldl from the linker invocation. That is not needed on OpenBSD.