W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 2000

Re: ELF file's phentsize not the expected size.

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 30 Mar 2000 14:53:21 +0200 (MET DST)
To: Josephus Premkumar <premkumar@bflsoftware.com>
cc: www-jigsaw@w3.org
Message-ID: <Pine.GSO.4.21.0003301451480.19828-100000@tarantula.inria.fr>
On Wed, 29 Mar 2000, Josephus Premkumar wrote:

> Hello,
>     I have compiled a JNI module on linux. And the shared library is
> created as a .so file. I compiled the c code using
> gcc -I<include directories> -c <Cfile>.c - < library name>.so
> But when i try running the java application it gives the following
> error.
> Exception in thread "main" java.lan.UnsatisfiedLinkError : <shared
> library path> : <shared library path again> :ELF file's phentsize not
> the expected size
>     at java.lang.....
>     ......
> I have set the LD_LIBRARY_PATH to the shared library's path.
> How can i get rid of this problem? Please reply to me at
> premkumar@bflsoftware.com about this.
> I am using JDK1.2.

I ran into this problem also, found the solution (the libUnix.so works
well), but last time I tried, I ran into the same problem (and I am
cursing because I didn't take note of what I did earlier), I'll recheck
soon and keep you informed. It was about some options to add (I was using

      /\          - Yves Lafon - World Wide Web Consortium - 
  /\ /  \        Architecture Domain - Jigsaw Activity Leader
 /  \    \/\    
/    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org    
Received on Thursday, 30 March 2000 07:58:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:28 UTC