Wednesday, July 19, 2017

EBS -- 12.2.0 Installation on SOLARIS 5.11 / make: Failed linking targets / "modifying the stage files" (continued)

My followers should remember this.
I already wrote an article about the failed make commands, which you may see during the installation of EBS 12.2 on Solaris 5.11 Operating System.

Here is the url of the relevant blog post: http://ermanarslan.blogspot.com.tr/2017/06/ebs-1220-installation-on-solaris-511.html

As you will see when you read that blog post, I recommended a manual modification that should be done in the installation stage files.

I  tested and verified that solution and recommended it to you.

However, there was a question in my mind.. That is, we normally shouldn't modify anything right? (this is certified environment)

Anyways, I m writing this blog post in order to tell you that this kind of a modification can also be recommended by Oracle Support.

I mean, I didn't stop chasing this problem and created an SR, followed it and finally get the same recommendation from Oracle.

Oracle Support recommended almost the same thing that I recommended earlier.

Note that, currently there is no fix for this.

The workaround is ->

Locate inst_reports.mk file in your stage directory. 
EBSInstallMedia/AS10.1.2/Disk1/appsts/stage/tools34_reports.zip. 

unzip it and you will find the file reports/lib32/ins_reports.mk 

Modify that file to include LD_OPTIONS for every relink/compile for every executable. 
Rename your old tools34_reports.zip (rename it as tools34_old.zip) 
After that, zip the contents that you unzipped earlier with the name tools34_reports.zip 
At this point, your new tools34_reports.zip file will include a modified ins_reports.mk 
Lastly, re-execute rapidwiz. 

Note: append the relevant line if it already included LD_OPTIONS 

Example 1: 

Before the change: 

$(LIBSRWUSO): 
rm -f rwsutil.o rwspid.o ; \ 
$(AR) x $(LIBSRWU) rwsutil.o rwspid.o ; \ 
(LD_OPTIONS="-z muldefs"; \ 
$(SOSD_REPORTS_LDSHARED) rwsutil.o rwspid.o \ 
-lm $(LIBCLNTSH) $(LLIBTHREAD) $(MOTIFLIBS) $(SYSLIBS) -lc ) 

After the change: 

$(LIBSRWUSO): 
rm -f rwsutil.o rwspid.o ; \ 
$(AR) x $(LIBSRWU) rwsutil.o rwspid.o ; \ 
(LD_OPTIONS="-L/lib -L/lib/sparcv9 -z muldefs"; \ 
$(SOSD_REPORTS_LDSHARED) rwsutil.o rwspid.o \ 
-lm $(LIBCLNTSH) $(LLIBTHREAD) $(MOTIFLIBS) $(SYSLIBS) -lc ) 

Example 2: 

Before: 

$(RRUNM) rwrun${RW_VERSION}x: 
$(LINK) $(JVMLIB) $(RXMARB) $(RUNSTUB) $(LIBSBM) 

After: 
$(RRUNM) rwrun${RW_VERSION}x: 
LD_OPTIONS="-L/lib -L/lib/sparcv9" \ 
$(LINK) $(JVMLIB) $(RXMARB) $(RUNSTUB) $(LIBSBM) 

Pretty similar with my solution right? :) 
Anyways, I m waiting for the next startCD, because it seems the fix for this will be included in it.

No comments :

Post a Comment