Hi! I'm trying to run Django app with mod_wsgi and Oracle, but when I try to configure it I always get an internal server error (500) with this error.log:
ImproperlyConfigured: Error loading cx_Oracle module: libclntsh.so. 11.1: cannot open shared object file: No such file or directory It seems that there's no ORACLE_HOME or LD_LIBRARY_PATH but my script looks like: import os import sys sys.path.append('/home/slafs/django2/djproj/') sys.path.append('/home/slafs/django2/djproj/projekty/') os.environ['DJANGO_SETTINGS_MODULE'] = 'projekty.settings_oracle2' os.environ['PYTHON_EGG_CACHE'] = '/home/slafs/django2/djproj/egg- cache' os.environ['ORACLE_HOME'] = '/home/slafs/paczki/instantclient_11_1' os.environ['LD_LIBRARY_PATH'] = '/home/slafs/paczki/ instantclient_11_1' import django.core.handlers.wsgi application = django.core.handlers.wsgi.WSGIHandler() and I'm wondering what's wrong... Can anyone help me ? Regards. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---