View previous topic :: View next topic |
Author |
Message |
purpledemon n00b
Joined: 12 Dec 2002 Posts: 4
|
Posted: Tue Dec 24, 2002 11:40 pm Post subject: problem installing intellij idea |
|
|
Hey ...
I'm trying to install Intellij IDEA 3.0 (java IDE) on my gentoo install and I get the following error :-
..
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
any ideas ? your help is appreciated .. |
|
Back to top |
|
|
taff n00b
Joined: 26 Dec 2002 Posts: 3
|
Posted: Thu Dec 26, 2002 9:40 pm Post subject: |
|
|
I'm having the exact same problem. |
|
Back to top |
|
|
ErikT n00b
Joined: 01 Aug 2002 Posts: 11 Location: Stockholm, Sweden
|
Posted: Fri Jan 03, 2003 10:15 pm Post subject: More of the same. |
|
|
I also have this problem. The files exist and the symlinks are correct. Anyone know a solution to this?
/Erik |
|
Back to top |
|
|
formzero n00b
Joined: 14 Dec 2002 Posts: 36 Location: Noisetown
|
Posted: Sat Jan 04, 2003 12:38 am Post subject: same here |
|
|
i'm getting the same error while trying to install my copy of Zend Studio which is the php IDE offered by Zend. I've looked through the script of the bin file, but can't find anything that tips it off. anyone? |
|
Back to top |
|
|
formzero n00b
Joined: 14 Dec 2002 Posts: 36 Location: Noisetown
|
Posted: Sat Jan 04, 2003 12:59 am Post subject: try this |
|
|
this got me past the glib check, but i still have other problems with java during the install of Zend. try opening the bin file in a text editor and commenting out the line
Code: | export LD_ASSUME_KERNEL |
so in essence, change it to this
Code: | #export LD_ASSUME_KERNEL |
this will bypass the check and continue with the install. let me know if this works for you guys. |
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
Posted: Sat Jan 04, 2003 2:55 am Post subject: me too |
|
|
Hi,
I'm having the exact same problem with IntelliJ Idea, and I started having them when I had done the glibc upgrade, so I'm guessing glibc or dependant updates have created this problem. Before glibc intellij worked perfect.
Mike |
|
Back to top |
|
|
corporate_gadfly n00b
Joined: 21 Sep 2002 Posts: 29
|
Posted: Sat Jan 25, 2003 3:07 pm Post subject: |
|
|
Hi,
I have the exact same problem as OP. Unfortunately, my Gentoo system is down right now (I borked a grub install and made the system unbootable - have to use rescue), so I can't make a bug on bugs.gentoo.org (as I won't be able to provide versions from emerge --info). Can one of you report a bug, please?
Just to give you an idea, I was able to take the same .bin file and install it successfully on a RedHat 8.0 system. I then tried to tar over the ~/IntelliJ* directories back to my Gentoo system but again got errors of the like "error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory"
My (now unusable) system was running Gentoo unstable ~x86 and everything was pretty up to date. |
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
|
Back to top |
|
|
corporate_gadfly n00b
Joined: 21 Sep 2002 Posts: 29
|
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Mon Feb 03, 2003 6:05 pm Post subject: |
|
|
It doesn't seem to work for me
ok, I don't get the libc and librt errors anymore, but now I get a NoClassDefFoundError:
guy@developguy temp $ ./idea-3.0.1v2_modified.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:223)
at java.awt.Window.<init>(Window.java:267)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at com.zerog.ia.installer.Main.b(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
guy@developguy temp $
Any ideas ? |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Mon Feb 03, 2003 8:00 pm Post subject: |
|
|
not sure what went wrong the previous time, but I never got that NoClassDefFoundError again
But, what I noticed is that when I edit the file (as suggested in this bugreport: https://bugs.gentoo.org/show_bug.cgi?id=14538),
it is dramatically reduced in size, but the size changes depending on the editor I used to edit the file.
(tried KEdit, Kate, KWrite and nano)
No matter what editor I use, I now get the following error:
guy@developguy temp $ ./idea-3.0.1v2_modified.bin
Preparing to install...
Extracting the JRE from the installer archive...
wc: /tmp/install.dir.2800/Linux/resource/vm.tar.Z: No such file or directory
The included VM could not be extracted. Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
guy@developguy temp $
What the hell is going on here
Any suggestions ? |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Mon Feb 03, 2003 8:27 pm Post subject: |
|
|
ok, I emerged vim and that seems to work.
Now I get that NoClassDefFoundError again. |
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
Posted: Mon Feb 03, 2003 8:44 pm Post subject: |
|
|
Hi,
The error you mentioned :
Quote: |
uy@developguy temp $ ./idea-3.0.1v2_modified.bin
Preparing to install...
Extracting the JRE from the installer archive...
wc: /tmp/install.dir.2800/Linux/resource/vm.tar.Z: No such file or directory
The included VM could not be extracted. Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
guy@developguy temp $
|
I also encountered, but that was before I changed all references from $0 to idea_3bla.bin, as detailed in the bug report. The idea is that you have 2 files, one which you edited (with the correct scripts) and a b*rked binary, and the original file (wrong scripts, good binary).
good luck! |
|
Back to top |
|
|
kryptolus n00b
Joined: 14 Aug 2002 Posts: 15
|
Posted: Tue Feb 04, 2003 12:37 am Post subject: Almost got it to install .... |
|
|
move /bin/uname to /bin/uname.real
replace /bin/uname with this perl script
Quote: |
#!/usr/bin/perl
if(grep(/-r/,@ARGV))
{
print "2.2.19\n";
exit 0;
}
system("uname.real", @ARGV);
|
(This basically fools the install script into thinking it's a 2.2 kernel and not setting the ASSUME_KERNEL flag)
With this the installer starts just fine, but right after the step for creating links. It hangs no matter which choice you make. |
|
Back to top |
|
|
kryptolus n00b
Joined: 14 Aug 2002 Posts: 15
|
Posted: Tue Feb 04, 2003 1:00 am Post subject: Also ... |
|
|
If you use the generic tarball on their site, you can install it just fine. |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 7:02 am Post subject: |
|
|
Yes Miker, the error occurs "after" i replaced all references to in the file idea-3.0.1v2_modified.bin with Quote: | dd if="idea-3.0.1v2.bin" | .
I'll try the perl script of kryptolus... |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 7:12 am Post subject: |
|
|
I can't get it to work.
Now I get following error:
Quote: |
[...]
Launching installer...
Error: can't find libjava.so.
|
I'll download the installer again from the intellij site, make a copy, change that copy as explained in the bug report and see what that'll do
(maybe something happened with the original installer ?) ... |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 7:19 am Post subject: |
|
|
nope, same problem:
Quote: |
guy@developguy downloads $ ./idea-3.0.1v2.bin.new
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:223)
at java.awt.Window.<init>(Window.java:267)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at com.zerog.ia.installer.Main.b(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
guy@developguy downloads $
|
Maybe it needs the sun jdk instead of the default blackdown-jdk ? |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 7:35 am Post subject: |
|
|
no, it still doesn't work
Quote: |
guy@developguy downloads $ which java
/opt/sun-jdk-1.3.1.06/bin/java
|
|
|
Back to top |
|
|
Miker n00b
Joined: 20 Jun 2002 Posts: 65 Location: Belgium
|
Posted: Tue Feb 04, 2003 8:30 am Post subject: |
|
|
for what it's worth, I use the sun 1.4.1 jdk |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 8:31 am Post subject: |
|
|
Yiepie
i dug around a bit and found a very interesting bit of information.
it turns out that jdk1.4.1 hasn't been written to use gcc 3.x yet, so you need to install compatibility libs for 2.9xx
if you are on gentoo, the portage package is:
Quote: |
sys-libs/lib-compat
|
and indeed, I emerged this package and guess what: it works !
Thanx for all of you who helped me with this prob ! |
|
Back to top |
|
|
corporate_gadfly n00b
Joined: 21 Sep 2002 Posts: 29
|
Posted: Tue Feb 04, 2003 2:18 pm Post subject: |
|
|
guydeschepper wrote: | Yiepie
i dug around a bit and found a very interesting bit of information.
it turns out that jdk1.4.1 hasn't been written to use gcc 3.x yet, so you need to install compatibility libs for 2.9xx
if you are on gentoo, the portage package is:
Quote: |
sys-libs/lib-compat
|
and indeed, I emerged this package and guess what: it works !
Thanx for all of you who helped me with this prob ! |
I'm glad it all worked out for you. I am a little confused though. A couple of posts ago, you said you had sun-jdk-1.3.1.06. And then in your most recent post you mentioned that emerging lib-compat fixed it for you. Did you in the meantime upgrade to sun-jdk1.4.1.01?
For other people having problems, the full details of my system are now posted in the bug report https://bugs.gentoo.org/show_bug.cgi?id=14538#c10 . |
|
Back to top |
|
|
corporate_gadfly n00b
Joined: 21 Sep 2002 Posts: 29
|
Posted: Tue Feb 04, 2003 2:28 pm Post subject: |
|
|
And for the more enthusiastic folks among you, , setting the environment variable LAX_DEBUG will print diagnostics from within the installer. That might help in tracing some of the problems. Something like "env LAX_DEBUG=1 ./idea-3.0.1v2.bin.new" should work. Be sure to see the bug report and check on the obvious things first. |
|
Back to top |
|
|
corporate_gadfly n00b
Joined: 21 Sep 2002 Posts: 29
|
Posted: Tue Feb 04, 2003 2:47 pm Post subject: |
|
|
I have found a way to edit the file in place by using hexedit (app-editors/hexedit-1.2.2). Hence no more messing around with changing the args to "dd". See https://bugs.gentoo.org/show_bug.cgi?id=14538#c11 for the detailed steps. Errata in https://bugs.gentoo.org/show_bug.cgi?id=14538#c12
By using this technique, diff now shows: Code: | 1991,1992c1991,1992
< #D_ASSUME_KERNEL=2.2.5
< #xport LD_ASSUME_KERNEL
---
> LD_ASSUME_KERNEL=2.2.5
> export LD_ASSUME_KERNEL | and nothing else is different about the two files.
Last edited by corporate_gadfly on Tue Feb 04, 2003 7:24 pm; edited 1 time in total |
|
Back to top |
|
|
guydeschepper n00b
Joined: 29 Sep 2002 Posts: 13
|
Posted: Tue Feb 04, 2003 4:38 pm Post subject: |
|
|
well no, I still use jdk1.3.1_06 but the installer of Intellij contains its own runtime which seems to be 1.4.x |
|
Back to top |
|
|
|