T45-2017: BIOVIA Direct is failing after installing Solaris patches
Direct
The installation of certain patches to Oracle Solaris 10 can cause BIOVIA Direct to stop working.
After patching your Oracle Solaris, BIOVIA Direct operations might fail. For example, running SELECT MDLAUX.VERSION FROM DUAL; might return an error similar to the following:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extproc: fatal: relocation error: file /usr/lib/64/libfontconfig.so.1: symbol FT_Get_MM_Var: referenced symbol not found
ORA-06512: at "C$DIRECT2017R2.MDLAUXOP", line 1995
ORA-06512: at "C$DIRECT2017R2.MDLAUXOP", line 1992
06520. 00000 - "PL/SQL: Error loading external library"
*Cause: An error was detected by PL/SQL trying to load the external library dynamically. *Action: Check the stacked error (if any) for more details.
Resolution:
We recommend patching your Oracle Solaris in a dev or sandbox environment first, with your version(s) of BIOVIA Direct installed. Test all versions of BIOVIA Direct in this sandbox environment first, before upgrading in other, more critical environments. We provide demonstration databases with each version of Direct, including SQL scripts, that can be used to facilitate testing. See the section "Setting Up the Direct Demonstration Database" in BIOVIA Direct Installation and Configuration Guide for more information.
If you do encounter this error, replace our version of libfreetype.so.6 in the BIOVIA Direct bin11 or bin12 directory with the version from your operating system. Here is an example for BIOVIA Direct 2017 R2 SP1, for Oracle 11:
1. cd /opt/BIOVIA/direct2017r2sp1/bin11
2. mv libfreetype.so.6 libfreetype.so.6.direct_original
3. cp ??/libfreetype.so.6 . replace ?? with the location of libfreetype.so.6 on your system.
Notes:
1. libfreetype.so.6 might be located in /usr/sfw/lib/sparcv9 or another location on your system.
2. Be sure to copy the 64-bit version of libfreetype.so.6. The file command will show whether a file is 32 or 64 bit:
$ file libfreetype.so.6
libfreetype.so.6: ELF 64-bit MSB dynamic lib . . . .
3. Modify the path to your BIOVIA installation above as needed for your installation.
Error Mesage:
select mdlaux.version from dual;
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extproc: fatal: relocation error: file /usr/lib/64/libfontconfig.so.1: symbol FT_Get_MM_Var: referenced symbol not found
ORA-06512: at "C$DIRECT2017R2.MDLAUXOP", line 1995
ORA-06512: at "C$DIRECT2017R2.MDLAUXOP", line 1992