On Jun 30, 6:55 pm, "arli...@gmail.com" <arli...@gmail.com> wrote:
> I can use the oracle with django admin runserver,
> but when i use apche withmod_wsgi, apache error log :
> ImproperlyConfigured: Error loading cx_Oracle module: DLL load failed:
> What's wrong with it ?
Please clarify whether this is on Windows or a UNIX system.
On UNIX systems at least, the Oracle Python module is notorious for
not being compiled properly with a library run path encoded into it.
Thus it will only work if LD_LIBRARY_PATH environment variable is set
to list directory where Oracle libraries are. You may have this set in
user environment, but will not be present in environment of Apache/
mod_wsgi.
The best solution for this issue on UNIX systems is to rebuild the
Python module so it has the required library run path setup.
Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---