... Or is there something else?
No, that looks ok. But a fact is that X509.so wasn't linked with libssl/libcrypto. This command should have mentioned -lssl and -lcrypto, together with the correct search path, such as -L/opt/csw/lib. But it didn't:
gcc -mcpu=v9 -m64 -G -L/usr/lib/sparcv9 -fstack-protector -G X509.o
+-o blib/arch/auto/Crypt/OpenSSL/X509/X509.so \
\
The most typical reason for this is missing dev libs (which we've excluded by now), but occasionally more subtle problems lead to libs not being detected by MakeMaker, and if MakeMaker thinks a lib is not there, it doesn't link against it...
Anyhow, the most practical solution would probably be to just re-run the above link command manually (from the build directory), appending the link instructions for the libs in question (you can get rid of those line-continuation backslashes). If that goes well, just continue with make test && make install.
gcc -mcpu=v9 -m64 -G -L/usr/lib/sparcv9 -fstack-protector -G X509.o
+-o blib/arch/auto/Crypt/OpenSSL/X509/X509.so -L/opt/csw/lib -lssl -lc
+rypto
|