Thursday, March 23, 2017

Solaris 11:- ERP upgrade from Solaris 10 to Solaris 11

Upgrading ERP app from Solaris 10 to solaris 11
1. Create a clone copy of ERP data LUN and presented to Solaris 11 LDOM.
2. DBA team got the following errors,

ld: warning: file required by /usr/lib/sparcv9/, not found
Undefined first referenced
 symbol in file
MD5Init /usr/lib/sparcv9/
MD5Final /usr/lib/sparcv9/
MD5Update /usr/lib/sparcv9/
ld: fatal: symbol referencing errors
*** Error code 1

checked the library, and it is located at /lib/64/
root@ssbx-mw-v01:~# ls -ld /lib/64/
-rwxr-xr-x   1 root     bin      1639688 Oct  6  2015 /lib/64/
After creating Linux to /usr/lib, it worked simply fine.
root@ssbx-mw-v01:~# ln -s /lib/64/ /usr/lib/64/

The blog below helped me to solve the issue,

 Error: invoking targer ' ' or makefile Solaris 11 Oracle 11g
If you head up with such problem there is simple workaround
1. Install prerequisites for DB
#pkg update system/library/security/crypto
#pkg update system/zones/brand/brand-solaris-kz
#pkg install pkg:/developer/assembler
#pkg install pkg://solaris/developer/build/make
2. Make symbolic link for library
#ln -s /lib/64/ /usr/lib/64/
3. unset LD_LIBRARY_PATH BEFORE installing DB

No comments:

Post a Comment