Bug 180960

Summary: Failure to find swt-pi-gtk-3139 in /usr/lib64
Product: [Fedora] Fedora Reporter: Pavel Roskin <plroskin>
Component: azureusAssignee: Anthony Green <green>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-10 20:42:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Roskin 2006-02-10 20:09:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.1) Gecko/20060207 Fedora/1.5.0.1-2.1 Firefox/1.5.0.1

Description of problem:
azureus fails to start when run on the command line.  The error is "Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path".  However I can run it as "LD_LIBRARY_PATH=/usr/lib64 azureus"

Version-Release number of selected component (if applicable):
2.3.0.6-21.fc5

How reproducible:
Always

Steps to Reproduce:
1. Run azureus on the command line
2.
3.
  

Actual Results:  azureus shows an exception and exits

Expected Results:  azureus runs

Additional info:

It may be a bug not in azureus, but in some underlying Java libraries that should look in /usr/lib64 for additional libraries on x86_64.  /usr/lib64/libswt-pi-gtk-3139.so is a symlink to /usr/lib64/eclipse/libswt-pi-gtk-3139.so provided by libswt3-gtk2-3.1.2-1jpp_5fc

Comment 1 Anthony Green 2006-02-10 20:21:31 UTC
Which java alternative are you using?
 java -version



Comment 2 Pavel Roskin 2006-02-10 20:32:41 UTC
I have JDK installed manually to /usr/java/jdk1.5.0_04 and a wrapper script for
it in $HOME/bin.  So, "java -version" would show:

java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_04-b05, mixed mode)

After removal of $HOME/java, "which java" return /usr/bin/java, and "java
-version" gives:

java version "1.4.2"
gij (GNU libgcj) version 4.1.0 20060206 (Red Hat 4.1.0-0.23)

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I never thought having Sun's Java would break natively compiled Java programs.

Comment 3 Anthony Green 2006-02-10 20:42:52 UTC
(In reply to comment #2)
> I have JDK installed manually to /usr/java/jdk1.5.0_04 and a wrapper script for
> it in $HOME/bin.  So, "java -version" would show:

Please refer to this page for hints on how to install multiple java systems...
http://fedoraproject.org/wiki/Docs/Beats/PackageNotesJava

If Sun's JRE still doesn't work, then file a bug with Sun.  I'm going to close
this case.