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

VM can not find libdbx_agent.so on linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.2_02
    • vm-legacy
    • None
    • x86
    • linux

      On linux, VM issue Error msg with option -Xrun when try to execute any .class,
      the ldd result of libdbx_agent.so should not have any effect on the VM error,
      I have same undefined symbols on sparc-S2, but sparc-S2 VM works fine.

      -----------------------------------------------------------------------

      to reproduce :

      35> java -Xdebug -Xnoagent -Xrundbx_agent -classpath . jdisp
       Error occurred during initialization of VM
       Could not find -Xrun library: libdbx_agent.so
      36> env | grep LD
       LD_LIBRARY_PATH=.:/set/gnu/local/lib:/set/gnu/local/lib/sparcv9:./:/net/ryan1/export/jeanko/ws/dbx74/dev/Derived-intel-Linux-debug/src/dbx/../lib/dbxruntime
      37> ls /net/ryan1/export/jeanko/ws/dbx74/dev/Derived-intel-Linux-debug/src/dbx/../lib/dbxruntime
       libcollector.so@ librtc.so@ rtcaudit.so@
       libdbx_agent.so* rtcapihook.so@ rtcboot.so@
      38> echo $host
       pirandello
      39> uname -a
       Linux pirandello 2.4.19-64GB-SMP #1 SMP Tue Nov 11 15:45:26 UTC 2003 i686 unknown
      40> java -version
       java version "1.4.2_02"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
       Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
       
      40> ldd -r libdbx_agent.so
              libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4003c000)
              libm.so.6 => /lib/i686/libm.so.6 (0x400f1000)
              libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40114000)
              libc.so.6 => /lib/i686/libc.so.6 (0x4011c000)
              /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
      undefined symbol: thr_self (./libdbx_agent.so)
      undefined symbol: sema_post (./libdbx_agent.so)
      undefined symbol: sem_init (./libdbx_agent.so)
      undefined symbol: sema_wait (./libdbx_agent.so)
      undefined symbol: sema_destroy (./libdbx_agent.so)
      undefined symbol: .L173 (./libdbx_agent.so)
       

            Unassigned Unassigned
            chko Chihin Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: