LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-07-2005, 11:12 AM   #1
MrDunker
LQ Newbie
 
Registered: Aug 2005
Location: Ontario
Distribution: MDK 10.2 64bit
Posts: 3

Rep: Reputation: 0
Exclamation Azureus Will Not Start (MDK 10.2 64bit)


Hey all, I've recently installed MDK 10.2 64bit, and everything was going fine until I got to installing a torrent client. I tried installing BitTorrent Official, but it was broken. So I was looking around for a better client and seen that Azureus was supposed to be OK, but a resource pig.
I currently have JRE1.5_04 installed and working (Limewire works great)
And I've gone through this how-to:
h.ttp://azureus.aelitis.com/wiki/index.php/Mandrake%20Linux%2010.x%20AMD64%20Bits
(My first post, and LQ doesn't like URL's for the first 5)

Yet I still get the same results. Here's the output from Azureus when I execute it inside the folder:

[root@192 azureus]# ./azureus
Starting Azureus...
Java exec not found in PATH, starting auto-search...
Java exec found in /usr/java/jre1.5.0_04/bin/
Suitable java version found [/usr/java/jre1.5.0_04/bin/java = 1.5.0_04]
Configuring environment...
Loading Azureus:
/usr/java/jre1.5.0_04/bin/java -Xms16m -Xmx128m -cp "/opt/azureus/Azureus2.jar:/opt/azureus/swt.jar:/opt/azureus/swt-mozilla.jar:/opt/azureus/swt-pi.jar" -Djava.library.path="/opt/azureus" -Dazureus.install.path="/opt/azureus" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/azureus/libswt-pi-gtk-3138.so: /opt/azureus/libswt-pi-gtk-3138.so: 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:123)
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:122)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:75)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:58)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:107)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:98)
Azureus TERMINATED.


I've been through LQ for a while now and I've seen a few people with the same problem. One post said enabling the local loopback device fixed it. So I enabled it and still no change. if anyone needs more information, feel free to message me.

Any help would be greatly appreciated, thanks,
MrDunker
 
Old 08-07-2005, 01:07 PM   #2
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
I can't help you with Azureus but I may be able to help you with the official bittorrent. First make sure that you have Python (the scripting language bt uses) installed. Then locate the file btdownloadgui.py and make sure that it is executable. Then you should be able to run it by simply typing btdownloadgui.py
 
Old 08-07-2005, 01:10 PM   #3
Zeistler
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 108

Rep: Reputation: 15
Oops I forgot... Please note that I was talking about the source version of bt. Not the binary version.
 
Old 08-07-2005, 01:15 PM   #4
MrDunker
LQ Newbie
 
Registered: Aug 2005
Location: Ontario
Distribution: MDK 10.2 64bit
Posts: 3

Original Poster
Rep: Reputation: 0
Okay, tihs is what I get:

[root@192 RPM_Tarballs]# btdownloadgui.py
Traceback (most recent call last):
File "/usr/bin/btdownloadgui.py", line 17, in ?
from BitTorrent import locale_root
ImportError: No module named BitTorrent

I haven't tried the src vers yet. I'm a noob so I started simple
 
Old 08-07-2005, 03:39 PM   #5
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
MrDunker, I have been using azureus for a while with my linux system, and I can tell you that (with prior experience with bittorrent) azureus is a much more refined program. The thing is, I don't think Java likes to run in command prompt, so azureus won't run in my command prompt either. Instead, find the shell script for azureus, and (in xterm) type
Code:
chmod +x ./azureus.sh
(this makes the shell script an executable)
Then, in the x-server, click on the icon for azureus... it should run now -- at least it does for me.

Happy Hunting
 
Old 08-07-2005, 10:44 PM   #6
windsea
LQ Newbie
 
Registered: Jul 2005
Distribution: redhat
Posts: 1

Rep: Reputation: 0
I have experienced a failure like this and fixed it by the following method

edit the file azureus
and the first several lines,you will see
JAVA_PROGRAM_DIR="" # use full path to java bin dir, ex. "/usr/java/j2sdk1.4.2/bin/"
#PROGRAM_DIR="" # use full path to Azureus bin dir
if the path was not set, just set it manually, then save it.
Then I think everything will be ok.
 
Old 08-08-2005, 05:52 AM   #7
MrDunker
LQ Newbie
 
Registered: Aug 2005
Location: Ontario
Distribution: MDK 10.2 64bit
Posts: 3

Original Poster
Rep: Reputation: 0
I've tried the last two examples with no luck. I'm still getting the same error.. I'm thinking it has something to do with the Include files. I'll try removing everything and starting over again and see if that will make any difference.
 
Old 08-09-2005, 02:32 PM   #8
mrchaos
Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware current, Fedora Core 5, SuSE 10.1 OSS
Posts: 298

Rep: Reputation: 30
yo,
like windsea was saying, your azureus shell script should look something like:
Code:
look_for_java()
{
  JAVADIR=/usr/java
  IFS=$'\n'
  potential_java_dirs=(`ls -1 "$JAVADIR" | sort | tac`)
  IFS=
  for D in "${potential_java_dirs[@]}"; do
    if [[ -d "$JAVADIR/$D" && -x "$JAVADIR/$D/bin/java" ]]; then
      JAVA_PROGRAM_DIR=/usr/lib/jre1.5.0_01/bin/
      echo $MSG2 $JAVA_PROGRAM_DIR
      if check_version ; then
        return 0
      else
        return 1
      fi
    fi
  done
  echo $MSG8 "${JAVADIR}/" $MSG9 ; echo $MSG4
  return 1
This is just a final guess, but make sure that
Code:
JAVADIR=/usr/java
is the directory that contains your binary executable for java...
 
Old 11-22-2006, 11:29 AM   #9
robzavala
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Thanxs Mr. Chaos! that worked for me!
 
  


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 doesn't start laurentwahl Linux - Software 3 06-16-2005 11:48 AM
which Azureus to install for MDK 10.1, GTK or Motif Razbad Linux - Software 5 02-19-2005 10:09 PM
azureus and java NoClassDefFound MDK 10.1 holymadness83 Linux - Software 2 01-31-2005 06:50 PM
MDK 64bit iso SlipAway172 Linux - Software 4 12-04-2004 10:59 PM
No sound with juk, MDK 64bit version iainvt Mandriva 0 07-12-2004 05:52 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration