Re: Java and libpthread.so.0 (LD_ASSUME_KERNEL)

2008-06-24 Thread Gudjon I. Gudjonsson
Hi
   Sorry, I should have known the problem, I think I have even asked
similar question earlier. There was an LD_ASSUME_KERNEL statement
hiding in the code.

Thanks
Gudjon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Java and libpthread.so.0

2008-06-23 Thread Gudjon I. Gudjonsson
Hi
   I have the following problem with a java version that is distributed
with a commercial program. But I have tried to replace the file with a
symbolic link to the Debian java but without success.
   Java doesn't find libpthread.so.0 but it does exist and I have run
ldconfig several times.

Can anyone explain this please?

/usr/local/ic5141/tools/jre/bin/java: error while loading shared
libraries: libpthread.so.0: cannot open shared object file: No such file
or directory

$ ldd /usr/local/ic5141/tools/jre/bin/java
linux-gate.so.1 =  (0xe000)
libpthread.so.0 = /emul/ia32-linux/lib/libpthread.so.0 (0xf7f97000)
libdl.so.2 = /emul/ia32-linux/lib/libdl.so.2 (0xf7f93000)
libc.so.6 = /emul/ia32-linux/lib/libc.so.6 (0xf7e4c000)
/lib/ld-linux.so.2 (0xf7fd)

$ find /emul/ia32-linux/ -name libpthread.so.0
/emul/ia32-linux/usr/lib/libpthread.so.0
/emul/ia32-linux/lib/libpthread.so.0

Thanks
Gudjon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Java and libpthread.so.0

2008-02-06 Thread Gudjon I. Gudjonsson
Hi
   I have a problem with java
/usr/bin/java: error while loading shared libraries: libpthread.so.0:
cannot open shared object file: No such file or directory

But both the 32 and 64 bit versions of libpthread exist on my system. I
found one thread on the internet where they seem to solve the problem with
LD_ASSUME_KERNEL=2.4.19
but this is not possible in Debian, especially not on an amd64.

Does anyone know this problem.

Thanks
Gudjon



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Java and libpthread.so.0

2008-02-06 Thread Alex Malinovich
On Wed, 2008-02-06 at 11:23 +0100, Gudjon I. Gudjonsson wrote:
 Hi
I have a problem with java
 /usr/bin/java: error while loading shared libraries: libpthread.so.0:
 cannot open shared object file: No such file or directory
 
 But both the 32 and 64 bit versions of libpthread exist on my system. I
 found one thread on the internet where they seem to solve the problem with
 LD_ASSUME_KERNEL=2.4.19
 but this is not possible in Debian, especially not on an amd64.

While the error is somewhat misleading, you'll get a No such file or
directory error if you have the wrong version of the libraries, which
is what I suspect is happening in this case. You're either using a
32-bit JVM without the appropriate 32-bit libs installed on a 64-bit
system, or, more likely, you're trying to run a Java application that
uses some specific libraries that was intended to be run on a 32-bit
system.

Try running it in a 32-bit chroot and see if you still have the problem.

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part