Robert Jaemmrich wrote: > Lloyd Kamara wrote: > > >>It is possible that this problem is related to >>the "os.name" and "os.arch" Java System >>properties when using Java 1.5 under Linux. >>If so, there is a quick work-around - please >>see the following thread: >> >>http://www.icparc.ic.ac.uk/eclipse/archive/eclipse-users/0278.html > > > Ah, thank you. So I'm setting os.arch to "i386". > > But now I get another error; strace look like this: > > lstat("/home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so", > {st_mode=S_IFREG|0755, st_size=6087, ...}) = 0 > open("/home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so", > O_RDONLY) = 7 > read(7, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\7\0\000"..., > 640) = 640 > close(7) = 0 > write(2, "Exception in thread \"main\" ", 27Exception in thread "main" ) > = 27 > write(2, "java.lang.UnsatisfiedLinkError: "..., > 132java.lang.UnsatisfiedLinkError: The shared library > /home/robert/prolog-eclipse/lib/i386_linux/libec_java_load.so could not > be found.) = 132 > > - libec_java_load.so exists at the specified location > - LD_LIBRARY_PATH and java.library.path are pointing to it's directory > - reading the .so file seems to be successfull (strace) > - maybe there is more internal library/environment checking The failure would be because libec_java_load.so in turn requires system libraries that are not found: % ldd /usr/local/eclipse/release/lib/i386_linux/libec_java_load.so libc.so.6 => /lib/libc.so.6 (0x4000c000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) These are the 32bit libraries, and you don't seem to have them in your LD_LIBRARY_PATH. Most Linux distributions should come with both 64 and 32 bit libraries, so you may just have to adjust your LD_LIBRARY_PATH setting. > - maybe it's failing because I'm messing with an unsupported > architecture (amd64) > > > Cheers, > > Robert > -- Joachim Schimpf / phone: +44 20 7594 8187 IC-Parc / mailto:J.Schimpf@imperial.ac.uk Imperial College London / http://www.icparc.ic.ac.uk/eclipseReceived on Wed Jul 27 12:09:28 2005
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:38 PM GMT GMT