> I am not 100% sure. By the error, what i understand is that for some reason > PostgreSQL version 9.5.x is expecting the SunOS version to be more recent > than 5.10.
At this point I suspect that Asif Naeem was correct upthread in questioning your compile options --- particularly the -L switches. castoroides seems to just be using this:
Thanks. Then, as i suspected, the problem must be around using appropriate CFLAGS, which i am not sure at what to use. One thing i can say at this point is that, if i just add "-m64" option in CFLAGS, i get an error illegal option.
I will re-test the compilation and get back with the inputs.