Hello, I have been trying to run Django app that requires IcePy on Apache with mod_wsgi on CentOS 6 using SCL Python.
I recompiled Ice manually, then mod_wsgi plugin without any issues. In order to import Ice I need to set LD_LIBRARY_PATH. From https://stackoverflow.com/questions/2550504/setting-ld-library-path-in-apache-passenv-setenv-still-cant-find-library looks like SetEnv works per request, so the process is already running when setting LD_LIBRARY_PATH. This is equivalent to setting it in python itself, which is too late. How should I set LD_LIBRARY_PATH to avoid File "/opt/Ice-3.5.1/python/Ice.py", line 47, in <module> import IcePy ImportError: libIce.so.35: cannot open shared object file: No such file or directory Ola -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
