You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chris Elford (JIRA)" <ji...@apache.org> on 2006/12/20 21:13:22 UTC

[jira] Created: (HARMONY-2827) Fedora Core 6 -- C++ library compatibility

Fedora Core 6 -- C++ library compatibility
------------------------------------------

                 Key: HARMONY-2827
                 URL: http://issues.apache.org/jira/browse/HARMONY-2827
             Project: Harmony
          Issue Type: Improvement
          Components: VM
         Environment: Fedora Core 6 -- x86
            Reporter: Chris Elford
            Priority: Minor


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2827) Fedora Core 6 -- C++ library compatibility

Posted by "Chris Elford (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2827?page=all ]

Chris Elford updated HARMONY-2827:
----------------------------------

    Attachment: fedora6-w-compatibilitylibs.strace

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



> Fedora Core 6 -- C++ library compatibility
> ------------------------------------------
>
>                 Key: HARMONY-2827
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2827
>             Project: Harmony
>          Issue Type: Improvement
>          Components: VM
>         Environment: Fedora Core 6 -- x86
>            Reporter: Chris Elford
>            Priority: Minor
>         Attachments: fedora6-w-compatibilitylibs.strace, fedora6-wo-compatibliltylibs.strace
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2827) Fedora Core 6 -- C++ library compatibility

Posted by "Chris Elford (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2827?page=all ]

Chris Elford updated HARMONY-2827:
----------------------------------

    Attachment: fedora6-wo-compatibliltylibs.strace

strace log of failure

> Fedora Core 6 -- C++ library compatibility
> ------------------------------------------
>
>                 Key: HARMONY-2827
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2827
>             Project: Harmony
>          Issue Type: Improvement
>          Components: VM
>         Environment: Fedora Core 6 -- x86
>            Reporter: Chris Elford
>            Priority: Minor
>         Attachments: fedora6-wo-compatibliltylibs.strace
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira