Operating System - HP-UX
1834903 Members
3029 Online
110071 Solutions
New Discussion

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no addcgi in java.lib

 
Andreas Dechand
New Member

Exception in thread "main" java.lang.UnsatisfiedLinkError: no addcgi in java.lib

Running a java program using a shared library throws this exception. Compilation was succesful and is welldone. Think I use the wrong location for placing the sl-file. Where should the shared library be placed?
2 REPLIES 2
CHRIS_ANORUO
Honored Contributor

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no addcgi in java.lib

It is in /usr/lib directory
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Andreas Dechand
New Member

Re: Exception in thread "main" java.lang.UnsatisfiedLinkError: no addcgi in java.lib

Thanks. The reason was not the environment, it was the filename, which obviously requires libxxxxx.sl