Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4445172

Linux: Fatal: JVM can not locate libpthread.so!

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.1
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      rc2
    • CPU:
      generic
    • OS:
      linux

      Backports

        Description


        Name: boT120536 Date: 04/13/2001


        Fatal: JVM can not locate libpthread.so!
        Aborted (core dumped)


        I cannot run java programs at all!
        I have downloaded JDK 1.3.1 for Linux (Redhat 7.0 with updates, eg
        kernel-2.2.17-14, glibc-2.2-12) and changed the PATH as shown below. Running
        most of the demo applets in Netscape work. However the JFC apps fail, as shown
        in the commands and responses below.

        Why can libpthread not be found by java or by find?
        Thanks in advance. Sorry if its obvious. I have d/l'ed adn followed the
        installation instructions in the doco.


        $ cd /usr/java/jdk1.3.1/demo/jfc/Notepad
        $ ll
        total 52
        -rw-r--r-- 1 root bin 39908 Apr 2 06:37 Notepad.jar
        -r--r--r-- 1 root bin 58 Apr 2 06:37 README.txt
        drwxr-xr-x 2 root bin 4096 Apr 13 10:59 resources
        drwxr-xr-x 2 root bin 4096 Apr 13 10:59 src
        $ java -jar Notepad.jar
        Fatal: JVM can not locate libpthread.so!
        Aborted
        $ cd /usr/java
        $ find . -name libpthread.so -print
        $ echo $PATH
        /usr/java/jdk1.3.1/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin

        Notes:
        java -version gives the same output

        I DO have a file
        /lib/libpthread-0.9.so

        Link
        /lib/libpthread.so.0
        points to the aboove file

        (Review ID: 120725)
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hhuangsunw Hui Huang (Inactive)
                  Reporter:
                  hhuangsunw Hui Huang (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: