Hello Team,
I got one SR 3-15757052521 regarding that library issues. customer given description as below
"Multiple library compatibility issues between ORD 3.3.0 (http://oss.oracle.com/ORD) and S11.3 SRU 23.5.
# PROBLEM 1 - SOLVED
S11.3 cURL is shipping: curl 7.45.0 (sparc-sun-solaris2.11) libcurl/7.45.0 OpenSSL/1.0.2k.
The incompatible cURL library shipping in ORD 3.3.0 is curl 7.49.0 (sparc-sun-solaris2.10)
Symptoms:
R install.packages() fails: 'Peer certificate cannot be authenticated with known CA certicates' and 'SSL connect error'
Workaround:
Move R's curl 7.49.0 (sparc-sun-solaris2.10) libraries out of the way and link from the ORD library back to S11.3's library to pick-up the curl 7.45.0 (sparc-sun-solaris2.11) library file:-
GALAXY 22:57:34 # cd /opt/ORD/R/lib/
GALAXY 23:00:36 # ls -l libcurl*
-r-xr-xr-x 1 root bin 1227168 Mar 12 2017 libcurl.so
-r-xr-xr-x 1 root bin 1227168 Mar 12 2017 libcurl.so.4
GALAXY 23:01:39 # mv libcurl.so libcurl.so_7.49.0
GALAXY 23:01:53 # mv libcurl.so.4 libcurl.so.4_7.49.0
GALAXY 23:02:08 # ln -s /usr/lib/sparcv9/libcurl.so.4 libcurl.so
GALAXY 23:02:40 # ln -s /usr/lib/sparcv9/libcurl.so.4 libcurl.so.4
GALAXY 23:02:48 # ls -l /opt/ORD/R/lib/libR.so*
-rwxrwxr-x 1 root root 5099816 Mar 12 2017 /opt/ORD/R/lib/libR.so
# PROBLEM 2 - UN-SOLVED
Symptoms:
R install.packages fails: ld: fatal: file /opt/ORD/R/lib/libR.so: wrong ELF class: ELFCLASS64
GALAXY 23:18:53 # file /opt/ORD/R/lib/libR.so
/opt/ORD/R/lib/libR.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
That is the libR.so shipped with ORD 3.3.0 (that appears to have been built for S10.)
Solution required for S11.3 to both be able to run the R executable and have R correctly make and compile packages downloaded from CRAN. Example follows:
R> install.packages("mime")
...
* installing *source* package 'mime' ...
** package 'mime' successfully unpacked and MD5 sums checked
** libs
/opt/developerstudio/bin/cc -I/opt/ORD/R/include -DNDEBUG -KPIC -m32 -c rawmatch.c -o rawmatch.o
/opt/developerstudio/bin/cc -G -L/opt/ORD/R/lib -o mime "
Can anyone provide solution. Thanks