libgcj/201: error loading shared library, undefined symbol __dso_handle

rfrench99@bigfoot.com rfrench99@bigfoot.com
Fri Apr 14 19:00:00 GMT 2000


>Number:         201
>Category:       libgcj
>Synopsis:       error loading shared library, undefined symbol __dso_handle
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 14 19:00:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Robert A, French
>Release:        snapshot 20000414
>Organization:
>Environment:
Debian GNU/Linux 'woody' x86
>Description:
The following program:
public class HelloWorld {
    public static void main(String [] args) {
        System.out.println("Hello");
    }
}

Compiled natively with:
gcj --main=HelloWorld -o HelloWorld HelloWorld.java

Run as:
./HelloWorld

Gives the following error immediately:
./HelloWorld: error in loading shared libraries: /usr/local/lib/libzgcj.so.0: undefined symbol: __dso_handle
>How-To-Repeat:
Happens every time
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list