A quick look on google suggests there can be problems with GNU ld on solaris. If you have a solaris linker you could specify that during the configure stage via the LD environment variable.