Hi all, mod_wsgi is great, thank you Graham. I had(still have apart from below) a working rhel7, httpd2.4, python install with conda via mod_wsgi.
Then I tried to use opencv. everything runs fine from the conda command line. ldd for the python/lib/libpng16 shows correct linking with python/lib/libz (1.2.11) however apache throws an error on 'import opencv', reporting libz 1.2.9 required as its seems to use the libz loaded by httpd (/lib64/libz) which for RHEL7 is 1.2.7. (/lib64/libz.so.6: version ZLIB_1.2.9 required by /opt/miniconda/lib/libpng16.so.16) I can work around this by using LD_PRELOAD=python/lib/libz /bin/httpd and everything works, but I can't figure out how to get the same to work for systemctl (since LD_PRELOAD is ignored by design) Any pointers as to how to fix this? I suspect it to be a bug in the libpng build but I'm not sure. Thanks Alaister -- 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 https://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
