LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-26-2010, 04:54 AM   #1
orbit
Member
 
Registered: Sep 2006
Location: Australia
Distribution: Slackware
Posts: 176

Rep: Reputation: 30
JDK Error ... what to do?


Hi all,

I compiled and installed a new visual traceroute program on my laptop running Slackware 12.1, the program is called GTrace.

After an initial ./configure attempt, the program said that I had to install the JDK package.

I installed <jdk-6u11-i586-1.tgz> and reconfigured, then make and make install, (I also added a required BerkleyDB <db-2.7.7.tar.gz> file to the install directory, as per the webpage instructions)

Now when I try to run the program, it attempts to start ( a window appears onscreen and then just stops and sits there).

I then ran the program in the command line and this is the output:

Quote:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/GTrace/libdb/libdb_java.so: /usr/local/GTrace/libdb/libdb_java.so: undefined symbol: __gxx_personality_v0
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at com.sleepycat.db.Db.load_db(Db.java:248)
at com.sleepycat.db.Db.<clinit>(Db.java:263)
at com.sleepycat.db.DbEnv.<clinit>(DbEnv.java:173)
at caida.GTrace.GTrace.initGTrace(GTrace.java:444)
at caida.GTrace.GTrace.<init>(GTrace.java:271)
at caida.GTrace.GTrace.main(GTrace.java:1597)
I searched google for this error and found one user that had a similar output in another program, but after reading the other forum, I have no idea what they were talking about or how to fix this up.

Could someone please (in plain english) offer some assistance on how I may overcome this JDK error to be able to run the visual traceroute program.

Thank you very much in advance for any assistance.

Regards

Last edited by orbit; 04-26-2010 at 04:57 AM.
 
Old 04-26-2010, 06:36 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Seems to be a pretty old release, I'd guess there may be an issue between the current JDK you installed and the old BerkleyDB, try getting hold of an old JDK and redo the install with '--with-java={PATH}'.
 
Old 04-26-2010, 11:30 PM   #3
vbatts
Member
 
Registered: Jun 2005
Location: Raleigh, NC, USA
Distribution: slackware
Posts: 88

Rep: Reputation: 63
an "undefined symbol" is usually means something needs to be recompiled. this GTrace shared object is attempting to resolve a symbol that is not longer mappable.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get JDK 1.5.0_08 and JDK 1.6.0_10 for Linux Redhat Itanium servers java_ascii Linux - Software 1 09-22-2009 11:17 AM
xmacs java compiling error - jdk version problem lindope Programming 0 09-25-2008 09:58 PM
error installing jdk and netbeans ufmale Linux - Software 1 07-22-2008 04:04 PM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 04:15 AM
JDK error message when installing on RH 7.2 ccampbell Linux - General 2 11-07-2001 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration