Harmony
  1. Harmony
  2. HARMONY-2827

Fedora Core 6 -- C++ library compatibility

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: VM
    • Labels:
      None
    • Environment:
      Fedora Core 6 -- x86
    • Estimated Complexity:
      Moderate

      Description

      I tried to use the binary JRE bundle from the web site (jre-r468731) to run a hello world application.

      I got error: java/lang/UnsatisfiedLinkError : Failed loading library "libhytext.so": DSO load failed

      According to strace, the issue appears to be an inability to load the nonexistant libstdc+.so.5. By installing the gcc 3.3.4 compatibility libraries (compat-libstdc+-33 package), I was able to get it to work.

      It would be good to document the needed library set or have a more meaningful error message than failure to load libhytext.so.

      Another anomoly that appeared when running strace is that it appears to load BOTH libstdc+.so.6 AND libstdc+.so.5. This seems to be quite odd and seems to indicate that some components were compiled with one compiler and some other components were compiled with another compiler. It looks like libharmonyvm.so uses a current compiler while the hytext library uses an older compiler.

      strace logs from the failure and after the legacy compatibility libraries were installed are attached.

      1. fedora6-wo-compatibliltylibs.strace
        107 kB
        Chris Elford
      2. fedora6-w-compatibilitylibs.strace
        214 kB
        Chris Elford

        Issue Links

          Activity

          Hide
          Chris Elford added a comment -

          strace log of failure

          Show
          Chris Elford added a comment - strace log of failure
          Hide
          Chris Elford added a comment -

          strace log after legacy compatibility libraries installed on fedora core 6. shows that both libstdc+.so.5 and libstdc+.so.5 are loaded.

          Show
          Chris Elford added a comment - strace log after legacy compatibility libraries installed on fedora core 6. shows that both libstdc+ .so.5 and libstdc +.so.5 are loaded.

            People

            • Assignee:
              Unassigned
              Reporter:
              Chris Elford
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development