LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2004, 03:29 PM   #1
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Rep: Reputation: 15
Need help interperating java error in Azureus...


Code:
Starting Azureus...
Loading Azureus:
/usr/lib/j2sdk1.4.2_04/bin/java -cp :Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/home/ekim/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/ekim/azureus/libswt-pi-gtk-3062.so: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FT_Stream_GetShort
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.

Hmm.. it used to work. The only thing I can think that I changed was when I updated java to 1.4.2_04 for firefox. Can anybody tell me how to fix the "UnsatisfiedLinkError"? I'm horribly new to this..

Thanks in advance,
Dark
 
Old 08-22-2004, 05:22 PM   #2
logtho
LQ Newbie
 
Registered: Aug 2004
Location: Canada
Posts: 1

Rep: Reputation: 0
Similar error

I'll take this oppertunity to try and resolve my problem,

Code:
Loading Azureus:
java -cp :Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/root/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/azureus/libswt-pi-gtk-3062.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
        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 org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.
any help would be appreciated
 
Old 08-22-2004, 08:24 PM   #3
har5ha
Member
 
Registered: Mar 2004
Location: NY
Distribution: Red Hat 9 [Kernel 2.6.6-1.435]
Posts: 72

Rep: Reputation: 15
looks like it has something to do with loading -----> libgtk-x11-2.0.so.0

try-------->

1)
#locate libgtk-x11-2.0.so.0


if found

2)
put in the path environment variable.....


if not found

find and install the rpm which has libgtk-x11-2.0.so.0

and go to step 2..
 
Old 09-26-2004, 08:29 PM   #4
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
I still can't get Azureus to run, and nobody at the Azureus forums has replied to my problem either. Is it a common problem or did I stumble onto something bigger? I redownloaded it thinking I got a corrupt download but it still gives me:
Code:
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_04]
Configuring environment...
Loading Azureus:
java -cp :Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/home/ekim/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/ekim/azureus/libswt-pi-gtk-3062.so: /usr/lib/libpangoft2-1.0.so.0: undefined symbol: FT_Stream_GetShort
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.
It recognizes my new(er) Java version, but it still hangs up at libpangoft2-1.0.so.0 and libswt-pi-gtk-3062.so. Has anybody ran into an undefined symbol error in Azureus before?
 
Old 10-10-2004, 08:43 AM   #5
piffy
LQ Newbie
 
Registered: Aug 2004
Location: Italy
Distribution: Suse, Knoppix
Posts: 7

Rep: Reputation: 0
Lightbulb

I had exactly the same problem. It seems somewhere in your system there is a different version of the swt library (in my case, it was rssowl, an rpm by packman: i found out by locating a file with 3061). I uninstalled the offending program and re-installed azurreus. Now everything works.

HTH


Thank to Guillermo Ballester Valor <gbv@oxixares.com> for the hint.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Azureus and Java peterman9898 Linux - Software 1 11-19-2005 02:59 AM
Azureus Java issues dreakon SUSE / openSUSE 1 10-03-2005 09:55 AM
java and azureus aRm1983 Linux - Software 3 06-08-2005 10:52 AM
java and azureus aRm1983 Mandriva 2 06-06-2005 10:03 PM
Azureus Java Error digiphr34k Slackware 6 06-03-2004 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 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