[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML

hermida do-not-reply at jboss.com
Fri Apr 25 05:57:25 EDT 2008


Hi,

I found the issue.  If you do an ldd of libawt.so you see:

anonymous wrote : ldd /home/hermida/java/jdk1.5.0_15/jre/lib/i386/libawt.so
  |         linux-gate.so.1 =>  (0x00110000)
  |         libmlib_image.so => not found
  |         libjvm.so => not found
  |         libm.so.6 => /lib/libm.so.6 (0x0019b000)
  |         libdl.so.2 => /lib/libdl.so.2 (0x001c4000)
  |         libjava.so => not found
  |         libc.so.6 => /lib/libc.so.6 (0x001c9000)
  |         /lib/ld-linux.so.2 (0x00478000)

So one needs to create an LD_LIBRARY_PATH env var if you don't already have one which points to all the right libraries (shown for Bash):

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib:/usr/local/lib:$JAVA_HOME/jre/lib/i386:$JAVA_HOME/jre/lib/i386/client:$JAVA_HOME/jre/lib/i386/server
  | export LD_LIBRARY_PATH

Then upon resourcing your .bash_profile and doing another ldd:

anonymous wrote : ldd /home/hermida/java/jdk1.5.0_15/jre/lib/i386/libawt.so
  |         linux-gate.so.1 =>  (0x00110000)
  |         libmlib_image.so => /home/hermida/java/current/jre/lib/i386/libmlib_image.so (0x0019b000)
  |         libjvm.so => /home/hermida/java/current/jre/lib/i386/client/libjvm.so (0x00495000)
  |         libm.so.6 => /lib/libm.so.6 (0x00262000)
  |         libdl.so.2 => /lib/libdl.so.2 (0x0028b000)
  |         libjava.so => /home/hermida/java/current/jre/lib/i386/libjava.so (0x00290000)
  |         libc.so.6 => /lib/libc.so.6 (0x002b3000)
  |         libpthread.so.0 => /lib/libpthread.so.0 (0x00407000)
  |         /lib/ld-linux.so.2 (0x00478000)
  |         libverify.so => /home/hermida/java/current/jre/lib/i386/libverify.so (0x0041f000)
  |         libnsl.so.1 => /lib/libnsl.so.1 (0x0042b000)

Then everything works!  I would update the FAQ to include these steps :)

Leandro


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146760#4146760

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146760



More information about the jboss-user mailing list