Trying to create a shared library using autoextvj, the following error is received:
$ gcc -shared -o libautoextvj.so autoextvj.o
/bin/ld: i386 architecture of input file `autoextvj.o' is incompatible with i386:x86-64 output
/bin/ld: autoextvj.o: file class ELFCLASS32 incompatible with ELFCLASS64
/bin/ld: final link failed: File in wrong format
collect2: error: ld returned 1 exit status
The 'libautoextvj.so' file is present under path /apps/CA/WorkloadAutomationAE/autosys/test/lib/' on all servers.
AutoSys 11.3.6x and 12.x