Error in loading the shared object

Ashish Srivastava ashish7s@yahoo.com
Mon Feb 3 19:35:00 GMT 2003


Hi,
 I created a shared object using gcj (gcc 3.2.1) and
loaded it in the intialization configuration files of
the web server. I got the following exception while
restarting the server (and loading the conf files) :
Configuration initialization failed: Error running
init function load-modules: dlopen of ~/xyz/libA.so
failed (ld.so.1: ns-httpd: fatal: relocation error:
file ~/xyz/libA.so: symbol
_Jv_ThrowNullPointerException: referenced symbol not
found)
where libA.so is the object created. The java class is
simple and something like :
public class A {
 public void do_something() {
 System.out.println("Say something");
 }
}
I am not sure what the error thrown really indicates.
Is it because the web server couldn't load the .so or
a NullPointer is thrown in the method itself which it
is trying to call? Any help is highly appreciated. 
Thanks,
-Ashish
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /