Note: E-Business Suite Release 12.2 Users ! It has been identified, that most scripts mentioned are also available for the EBS 12.2 Installation, but as in EBS 12.2 there are 2 separate file systems are used, you should NOT manually relink the binaries.
You could use adadmin for relinking the product libraries
But I am confused
There is no specific option for relinking 32bit or 64bit executables?
There is no specific options available in my understanding for 32bit or 64bit relinking
When we say EBS 64 bit it means 64 bit database and application which has both 32 and 64 bit executables. Forms reports executables uses 32 bit. For relinking use the same adadmin option.
Hope it helps
Thanks Sam and all,
The support mentioned that > Looks like all the 32 bit executable files didn't relink correctly. Please instruct customer to relink all the 32 bit exexutable files.
As if you can relink it separately.
Why did not he just tell to relink all executables.
Please check with Oracle, as there is no specific option available while doing adrelink.
You cannot recompile 64-bit executables, they come precompiled with .exe filename extension.
OS Environment and Compile Settings for Value Chain and MRP/Supply Chain Planning Applications (Doc ID 1085614.1)
Compiling 32-bit executables successfully is a little bit of a long story. Around the time RHEL 5 and SLES 10 came out, MSC executables would not compile correctly and Oracle decertified ASCP on the new Linux versions. I was also working with ASCP on Solaris 10 and noticed the relink logs showed the same errors on Solaris as they did on Linux, but on Solaris executables were created and on Linux gcc threw errors and failed. I started looking at different gcc compiler options to suppress warning and found one that worked ( -Wl,--noinhibit-exec). I gave this solution to Oracle after an ASCP OpenWorld session and it has made it into several MOS notes:
Unable to relink MSC/MSO executables on OEL/RHEL5 and also RedHat 4.9 (Doc ID 1273390.1)
Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (Doc ID 761566.1)
Please use adadmin to relink all msc executables which will relink the 32-bit executables. You should see the following at the bottom of the adadmin log:
Done with link of msc executable 'MSCXGCAL' on Mon Nov 20 08:38:57 PST 2017
Done relinking module MSCXGCAL in product msc
Done with link of product 'msc' on Mon Nov 20 08:38:57 PST 2017
adrelink is exiting with status 0
End of adrelink session
Date/time is Mon Nov 20 08:38:58 PST 2017
Line-wrapping log file for readability ...
Done line-wrapping log file.
If it fails, there may be something wrong with your $AD_TOP/bin/adrelinknew.sh file. Rather than just fixing the file as shown in the notes, Oracle has decided to check for certified releases in /etc/*release* within the logic of adrelinknew.sh.
is this NEW file provided by oracle to execute ?
Yeah, but how do I know that it is for 32 bit executables? and not for 64 bit?
Or will it compile both 32 & 64 bit?
You can just compile, there is no provision to mention 32 or 64 bit in command line.
As these are provided by oracle, they only can tell you what would be the versions of the files.
Are these command not found or not documented in some Doc notes ID
Have you not encountered these command before?
The commands provided by Oracle will recompile the executables the same way adadmin will. If you look at the adrelink logs, you will see gcc -m32 or g++ -m32, meaning adrelink is forcing the compiler to compile in 32-bit mode.