Undefined Symbol Mpf_set_default_prec When Using Stc_monkmath.dll

(Doc ID 1490207.1)

Last updated on AUGUST 07, 2014

Applies to:

Sun Schema Runtime Environment (SRE) - Version 5.0.5u2 and later
Information in this document applies to any platform.
****Checked for relevance on 7-Aug-2014****


When attempting to use the set-precision function in stc_monkmath.dll, the following error is seen:

    /opt/JavaCAPS-SRE/505/client/bin/stcewgenericmonk.exe: symbol lookup error: /opt/JavaCAPS-SRE/505/client/bin/stc_monkmath.dll: undefined symbol: mpf_set_default_prec

When executing ldd against the DLL, it has all of its dependencies satisfied:

    bash-3.2$ ldd ../../bin/stc_monkmath.dll
      linux-gate.so.1 => (0xffffe000)
      libgmp.so.3 => /usr/lib/sse2/libgmp.so.3 (0xf7f1b000)
      stc_monk.dll => /opt/JavaCAPS-SRE/505/server/bin/stc_monk.dll (0xf7e10000)
      stc_common.dll => /opt/JavaCAPS-SRE/505/server/bin/stc_common.dll (0xf7d6c000)
      libpthread.so.0 => /lib/libpthread.so.0 (0xf7d51000)
      libdl.so.2 => /lib/libdl.so.2 (0xf7d4c000)
      libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7c63000)
      libm.so.6 => /lib/libm.so.6 (0xf7c3a000)
      libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7c2e000)
      libc.so.6 => /lib/libc.so.6 (0xf7ad4000)
      librt.so.1 => /lib/librt.so.1 (0xf7aca000)
      /lib/ld-linux.so.2 (0x00945000)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms