Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old October 14th, 2002
Unregistered
Guest
 
Posts: n/a
Default Re: A First!!

Quote:
Originally posted by nDiScReEt


***Special Note***

Only Blackdown uses .java_wrapper that I am aware of at this time. Any other java vm will not require symlinking this to /usr/bin as java.

****************


1.) How familiar are you with linux console commands? You are saying that when you type this command:

rpm -qa | grep j2

You get no output?

Otherwise, it sounds like a typo somewhere.

If you do get an output, please post it here.

2.) I would like to know if you are using, Sun's, Blackdown's, or IBM's java VM. (This would be answered by your output from Question #1 if you are not certain yourself.

Eagerly awaiting your answers,
Altoine

3.) You are using bash?

If there isn't any typo you might simply have to logout and then back in again to update your path. Otherwise, it will not work before unless you manually type the export commands directly on the command line and not in .bashrc or .bash_profile.

altoine

HELLO ALL
I AM A NEWBIE TO LINUX HOWEVER, I THOUGHT YOU HAD TO UPDATE YOUR PATH NO MATER WHATVERSION OF REDHAT YOU ARE USEING.

I HAVE JUST INSTALLED REDHAT 8.0(KIXKS A$$) AND I HAVE TRIED TO INSTALL LIMEWIRE AND GET THE SAME ERRORS AS EVERYONE ELSE. WHEN YOU SAY EDIT THE BASH PROFILE DO YOU MEAT THE /ETC/PROFILE FILE?? I HAVE TRIED TO INSTALL THIS APP AS ROOT. I ALSO INSTALLED THE JAVA VM AS ROOT AS WELL. AM I DOING SOMETHING WRONG??"
Reply With Quote
  #42 (permalink)  
Old October 14th, 2002
Unregistered
Guest
 
Posts: n/a
Default Re: I Have The Solution To All Install Problems

Quote:
Originally posted by nDiScReEt
<center>
<blockquote>
ooooooooooooooooooooooooooooooooooooo
0 NOTE 0
ooooooooooooooooooooooooooooooooooooo
This is 100% guaranteed to work in a Bourne Again shell environment (bash or sh). Other shell solutions to be posted shortly.
So much work is going into making a detailed installer for all methods that I have a new idea.
I think a new modified installer is in order. I will make a script that will do all the necessary magic with the LimeWireLinux.tgz tarballs and possibly the RPM packages.
This has been updated Aug 16, 2002.
ooooooooooooooooooooooooooooooooooooo

Each Post will be categorialized by installation method in relation to packaging scheme (ie rpm, emerge, tarballs, and deb) Not in that exact order mind you. Let us begin with the RPM enthusiasts out there using blackdown:
.

</blockquote></center>
I had posted to these forums a solution to everyones' ails (no complaints or disagreements so far) and I will repost my solution to this thread.

<snip>

**Note**
This portion is for blackdown java vm instructions. Scroll further down for other instructions for IBM and Sun.
********

I get this when I do:

java -version

<output>
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-02b-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1_02b-FCS, mixed mode)
</output>

Make the appropriate changes depending on where you installed your java installation whether it be sdk or jre:

I put where I downloaded my j2sdk1.3.1-02b-FCS:

/usr/lib/j2sdk1.3.1

You can find your path by typing this command:

which -b java

into my PATH in my .bash_profile:

(Using vi, a linux editor like windows "edit" program, type:

vi .bash_profile

press "i" (eye) to insert/edit/add the following.)


export JAVA_HOME=/usr/lib/j2sdk1.3.1
export PATH=$JAVA_HOME/bin:$PATH

(Hit "Esc" to end editing. Then type:
:wq
to save and quit).

If you are in a graphical environment using KDE, Gnome, blackbox, etc use kate, kwrite, or gedit instead.

After doing that, I remove kaffe from my system but I have a dependency problem with my wizard packages. I do this command to keep that program around:

rpm -e kaffe --nodeps

This removes all instances of kaffe binaries from /usr/bin.

I next create soft links to the /usr/bin directory but blackdown has most of all of it's java commands (ie java, javac, etc) as symbolic links. Some people´s configuration will not allow that many symlinks (That is a softlink pointing to another softlink)
the symlinks point to a "hidden" file called .java_wrapper. So I link this to my /usr/bin directory like so:

ln -s /usr/lib/j2sdk1.3.1/bin/.java_wrapper /usr/bin/java

After doing that, I execute the LImeWireLinux.bin installer (do this as a regular user and not root. I don't know a way to install it system wide as root yet without making a script.):

./LimeWireLinux.bin

Installation works. Program installed, running, and functional. I discovered that I had to install the program as user instead of trying to set it systemwide as root.

</snip>

Please let me know by leaving a comment or anything if you have any problems or success with my solution.

From: Anthos


After reading your solution to the prob. installing LimeWire I finally got the installer to work:

I then tried running the prog. And got this error message:

[root@xeio] LimeWire]# sh runLime.sh
/usr/java/jre1.3.1_05/bin/i386/native_threads/java: relocation error: /usr/java/ jre1.3.1_05/lib/i386/libpreemptive_close.so: symbol __libc_sendto, version GLIBC _2.0 not defined in file libc.so.6 with link time reference

Have any Sugstns ??
I really appreciate your help
Reply With Quote
  #43 (permalink)  
Old October 20th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: Re: I Have The Solution To All Install Problems

Quote:
Originally posted by Unregistered



From: Anthos


After reading your solution to the prob. installing LimeWire I finally got the installer to work:

I then tried running the prog. And got this error message:

[root@xeio] LimeWire]# sh runLime.sh
/usr/java/jre1.3.1_05/bin/i386/native_threads/java: relocation error: /usr/java/ jre1.3.1_05/lib/i386/libpreemptive_close.so: symbol __libc_sendto, version GLIBC _2.0 not defined in file libc.so.6 with link time reference

Have any Sugstns ??
I really appreciate your help
Try this on the commandline (you more than likely will have to be root.

altoine
Reply With Quote
  #44 (permalink)  
Old October 25th, 2002
Unregistered
Guest
 
Posts: n/a
Default Can't find libc.so.6

I run SuSE 8.1
When I try to run the installer "sh ./LimeWireLinux.bin" it starts and then complains that it cannot find libc.so.6 although i have the file. I probably need to do a symlink somewhere. Anybody knows where and under what name?

Tony
Reply With Quote
  #45 (permalink)  
Old October 26th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default

Quote:
Originally posted by Unregistered
For those who are running Debian, this might help.

My system is running Debian unstable, with a freshly installed copy of J2SDK 1.4.1.

The install ran perfectly for me after I ran the following:
ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2


Regards,


Rex
Rex forgot to mention that you would have to create that link in the actual directory where libstdc++-libc6.2-2.so.3 is located. What Rex is doing is providing a link to the old libc6.1-1.so.2 as that is no longer seen libstdc++2.10-2.96-0.80mdk for my mandrake package which is actually symlinked to /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so.

To find out where your libstdc++-3-libc6.2-2-2.10.0.so is located type this command:

whereis libstdc++-3-libc6.2-2-2.10.0.so

find that and then symlink it like this to keep symlinks to a minimum (ie to avoide a symlink to a symlink that is symlinked to an actual file) follow these instructions;

First, go to the directory where the whereis program located your file and then type:

ls -l libstdc++*

we type this command to check to see if the symlink:

libstdc++-libc6.2-2.so.2

isn't already present. If it isn't then create the symlink:

ln -s libstdc++-3-libc6.2-2-2.10.0.so libstdc++-libc6.2-2.so.2


Thank you Rex for posting the solution to the Suse 8.1 runtime issue with glibc-type error messages when trying to execute limewire after a successful install, as I couldn't since I had to remove Suse 8.1 to reconfigure my development box.

altoine

Last edited by nDiScReEt; October 27th, 2002 at 10:03 AM.
Reply With Quote
  #46 (permalink)  
Old October 29th, 2002
Novicius
 
Join Date: October 29th, 2002
Location: Florida
Posts: 1
SolarWinds is flying high
Thumbs up

You Da Man!!
Reply With Quote
  #47 (permalink)  
Old November 12th, 2002
Unregistered
Guest
 
Posts: n/a
Unhappy Your solution does not work

I type
java -version
<output>
bash: java: command not found

I type
which -b java
<output>
type: usage: type [-apt] name [name ...]


I type ./LimeWireLinux.bin
<output>
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.


Yes Java is installed I installed j2re then j2sdk incase I missed something, sucsessful Java Install but there is no obvious way to tell just no errors therefore good.

jameswilson@roadrunner.nf.net
Reply With Quote
  #48 (permalink)  
Old November 14th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: Your solution does not work

Quote:
Originally posted by Unregistered
I type
java -version
<output>
bash: java: command not found

I type
which -b java
<output>
type: usage: type [-apt] name [name ...]
That is why the command:

which java

is so beautiful! It means that java isn't properly configured on your system. Definitely when you type this command:

java -version

and don't get tthe apropriate response.

Let us try to help you out here. Let me use the more recent java package to run you through the install process...


1) I go to java.sun.com and get the latest java package: j2se 1.4.1.

2) I next download it to my home directory.

3) I make the package executable if it isn't like this:

chmod +x j2sdk-1_4_1_01-linux-i586-rpm.bin

4) I next execute the package:

sh j2sdk-1_4_1_01-linux-i586-rpm.bin

5) I agree to the licensing terms.

6) I am left with:

j2sdk-1_4_1_01-fcs-linux-i586.rpm

I install this as root:

rpm -Uvh j2sdk-1_4_1_01-fcs-linux-i586.rpm

7) Make sure it is installed by typing this command:

java -version


This should output:

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

8) Now, that linux has java installed and running. We are left with configuring linux for java development/limewire installation.

9) Find where java is installed on your system with this command:

which java

You should have this exact output:

/usr/java/j2sdk1.4.1_01/bin/java

10) edit your .bash_profile (or .bashrc if your system doesn't come with .bash_profile) and add these lines to this file:

export JAVA_HOME=/usr/java/j2sdk1.4.1_01
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=$CLASSPATH:

***SPECIAL NOTE***
Make sure that you don't forget the period (.) at the beginning of your file as this denotes your file as a hidden file, which what .bash_profile and .bashrc are!

Type:

ls .bash*

to verify what you have on your system.

********************

11) Then we activate these changes with the following command:

source .bash_profile

or simply logout and then back in if you prefer the M$ way of doing things.

12) Install LimeWire as instructed to do so as a regular user.

Otherwise, this link might help:

http://www.gnutellaforums.com/showth...9810#post59810

altoine

Last edited by nDiScReEt; November 14th, 2002 at 12:12 PM.
Reply With Quote
  #49 (permalink)  
Old November 18th, 2002
Unregistered
Guest
 
Posts: n/a
Default jdkgcj rpm real culprit?

I have had install problems with Limewire on Red Hat 8.0 that are exactly like those described by others in this forum. I have tried both the Sun 1.4 SDK and the Sun 1.4 jre. I could not get Limewire to install on either even though I would get the following output when running the 'java -version' command:

java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

When I ran a 'which java' command, it came back with /usr/bin/java instead of /usr/java/j2re1.4.1_01/bin/java.

rpm -q --whatprovides /usr/bin/java pointed to the jdkgcj rpm.

rpm -e --nodeps jdkgcj and voila! Installs like a charm.

Herb
Reply With Quote
  #50 (permalink)  
Old November 18th, 2002
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default

Thank you, Herb! I knew that it was a java program that was causing the problem but didn't similiar problems as I do an Expert installation everytime and choose all my packages by hand.
I will definitely have to update and include that feature in the howto. Is this ok with you, Herb?

altoine

Last edited by nDiScReEt; November 18th, 2002 at 12:54 PM.
Reply With Quote
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
!!Solution!! to LW Problems!! Panzer Connection Problems 26 March 21st, 2009 07:24 PM
An install problem that there is no solution for 5tr4f3 General Linux Support 1 August 28th, 2002 12:22 AM
A possible solution for connection problems Taliban Connection Problems 3 May 9th, 2002 12:07 AM
MRJ install problem... already tried given solution.. help! Unregistered Mac 2 April 2nd, 2002 07:59 AM
Solution to Windows 2000 Install Problem Unregistered Windows 1 March 7th, 2002 05:07 PM


All times are GMT -7. The time now is 03:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.