https://bugs.openldap.org/show_bug.cgi?id=9298
Ryan Tandy ryan@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #1 from Ryan Tandy ryan@openldap.org --- Hello,
This looks like a local environment issue to me. I tried 2.4.50 on Solaris 10 just now and it builds fine for me, both with the system SUNWopenssl packages (0.9.7d) and self-compiled OpenSSL 1.0.2q.
my OpenSSL build commands: ./config --prefix=$HOME/sysroot shared -m64 -Wl,-rpath=$HOME/sysroot/lib make && make install
my OpenLDAP build commands: ./configure --prefix=$HOME/sysroot CFLAGS="-m64 -I$HOME/sysroot/include" LDFLAGS="-L$HOME/sysroot/lib -Wl,-rpath=$HOME/sysroot/lib" --with-tls=openssl
OPENSSL_sk_num in your error is suspicious; the man page says that in older versions it used to be a macro, not a symbol. I wonder if your build environment is unclean, and you have some objects compiled against OpenSSL-1.1.1 that you are now trying to link with OpenSSL-1.0.2? The build log you attached was not run in a clean tree, as many sources are not being compiled in this log.
Please try again with a clean build environment...