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 libucrypto.so.1: required by /usr/lib/sparcv9/libnsl.so, not found
Undefined first referenced
symbol in file
MD5Init /usr/lib/sparcv9/libnsl.so
MD5Final /usr/lib/sparcv9/libnsl.so
MD5Update /usr/lib/sparcv9/libnsl.so
ld: fatal: symbol referencing errors
*** Error code 1
checked the library, and it is located at /lib/64/libucrypto.so.1
root@ssbx-mw-v01:~# ls -ld /lib/64/libucrypto.so.1
-rwxr-xr-x 1 root bin 1639688 Oct 6 2015 /lib/64/libucrypto.so.1
After creating Linux to /usr/lib, it worked simply fine.
root@ssbx-mw-v01:~# ln -s /lib/64/libucrypto.so.1 /usr/lib/64/libucrypto.so.1
The blog below helped me to solve the issue,
http://tryamka.blogspot.com/2016/06/error-invoking-targer-or-makefile.html
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 libucrypto.so.1
#ln -s /lib/64/libucrypto.so.1 /usr/lib/64/libucrypto.so.1
3. unset LD_LIBRARY_PATH BEFORE installing DB
#unset LD_LIBRARY_PATH
No comments:
Post a Comment