Relocation error
Stefano Corsi <[email protected]> Fri, 31 Jan 2003 00:53:13 +0000
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Organization | Moto Project |
| Message-ID | <[email protected]> |
When I execute this code under apache:
${
use "codex.http";
State s = getState();
Session session = s.getSession();
String username = <String>session.get("username");
if (username == null) {
sendRedirect("login_form.moto?sid="+getState().getSID());
}
}$
everything is ok. But if I try to execute it from the command line:
[devel@localhost moto]$ moto index.moto
moto: relocation error: /usr/mx/codex/http/libmx_codex_http.so: undefined
symbol: getState
I get this relocation error. Does anyone understand where the problem is?
Thanks,
Stefano