Did you look for libinstall ? its permissions and where/what it is?
From what I remember in older days at a SUN presentation of its strategy and evolution (like including X86 servers in roadmap...) I remember interventions of people for the local university, and and more from CERN complaining saying that solaris10 on X86 was not all that 64bits OS and when will it be...
You may have 2 distinct libraries one for 32 and one for 64, be sure to set the path accordingly
And i have added environment variable LD_LIBARAY_PATH as follows where 64bit libraries are available
LD_LIBARAY_PATH=/usr/lib/64/ld.so.1
I dont know why it is pointing to 32 bit library only(/usr/sfw/lib/libgcc_s.so.1) instead of "/usr/sfw/lib/libgcc_s.so.1" it should take /usr/sfw/lib/amd64/libgcc_s.so.1
That reminds me some time ago when I compiled python and had issues, are you sure you fullfill all the prerequisites? especially about gcc? as I see your libgcc is of 2005...
Yes. The gcc is not the latest version . It comes with the Solaris. I don't think thats an issue.. Only thing is that, while compiling it should take from /usr/sfw/lib/amd64 which is for 64 bit..
Don't know in which flag I need to include that while compiling..
I think I had to use a gcc v7 for it to work... But wont be affirmative because the same week I compiled on the same architecture (aix) a python 3.X...