Spundun Bhatt <address@hidden> writes:
/usr/ucb/ld -G -h libgmp.so.3 -o .libs/libgmp.so.3.3.0 .libs/assert.o
........bs/vscanf.o scanf/.libs/vsscanf.o -lc
ld: fatal: file /usr/lib/libc.so: wrong ELF class: ELFCLASS32
Hmm. I think ld is supposed to recognise 64-bits from the class of
the first object, and adjust it's paths accordingly, to
/usr/lib/sparcv9 or something like that.
You don't have environment variables LD_LIBRARY_PATH or
LD_LIBRARY_PATH_64 or maybe LD_OPTIONS set?
I have LD_LIBRARY_PATH set, but not the other two. I dont quite understand
whats going on over here.