Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Markus Sitzmann
What happens if you import RDKit into a regular python shell without mod_wsgion this computer? If this works than the mod_wsgi python maybe runs on another python interpreter.On Tue, 10 Sep 2013 16:08:24 -0400, Michał Nowotka wrote:Believe me, I restarted it many times :)On Tue, Sep 10, 2013 at 1

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Igor Filippov
Some kind of an answer seems to be already given at Stackoverflow. I would add two comments: 1) Unless there are some specific problems with this you can add new library system-wide through ld.so.conf 2) You did not mention what your log files say but I would experiment with Selinux switched off.

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Igor Filippov
Maybe move the rdkit libs into some folder within apache DocumentRoot? Did you restart apache after syncing the libraries? On Tue, Sep 10, 2013 at 3:58 PM, Michał Nowotka wrote: > Yes, I mean even RDKit. > > No, the trouble maker has exactly the same system. The only difference is > that in ord

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
Thanks for advices. Unfortunately I can't do anything system-wide as I don't have administrator privileges on the server. Than also means I can't switch selinux. On Tue, Sep 10, 2013 at 7:59 PM, Igor Filippov wrote: > Some kind of an answer seems to be already given at Stackoverflow. > I would a

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
Believe me, I restarted it many times :) On Tue, Sep 10, 2013 at 10:06 PM, Igor Filippov wrote: > Maybe move the rdkit libs into some folder within apache DocumentRoot? > Did you restart apache after syncing the libraries? > > > On Tue, Sep 10, 2013 at 3:58 PM, Michał Nowotka wrote: > >> Yes, I

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
Yes, I can. What is more important I successfully managed to run other libraries with extensions in C (indigo toolkit, cx_Oracle). What is even more important the same configuration (at least it seems to be the same) works on other machines. Unfortunately I don't know how to debug to find source of

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Markus Sitzmann
How far is your setup working so far? Can you already run python scriptsvia mod_wsgi without importing rdkit? On Tue, 10 Sep 2013 15:29:07 -0400, Michał Nowotka wrote:Yes: python, mod_wsgi, vitualenv, RHELOn Tue, Sep 10, 2013 at 9:22 PM, Markus Sitzmann wrote: Are you

[Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
I have some problems with configuring apache to use rdkit, this is described in SO question: http://stackoverflow.com/questions/2550504/setting-ld-library-path-in-apache-passenv-setenv-still-cant-find-library Any help would be appreciated! Regards, Michał Nowotka ---

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
Yes, I mean even RDKit. No, the trouble maker has exactly the same system. The only difference is that in order to install my app on other machines I was using fabric and on the problematic machines I just rsynced directories from working machines. The only error in error_log is: ImportError: li

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Markus Sitzmann
So you mean, you have even RDKit running with this setup on other machinesor just the other libraries.If "other machines" vs the trouble maker machine includes a change from RH5 to RH6 than indeed I would suspect SELinux as Igor suggested. Don't ask mefor a solution except for switching it off.Is

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Michał Nowotka
Yes: python, mod_wsgi, vitualenv, RHEL On Tue, Sep 10, 2013 at 9:22 PM, Markus Sitzmann wrote: > ** > Are you trying to use it with python/mod_wsgi? Your description so far is > a bit vague :-) > > Markus > > On Tue, 10 Sep 2013 15:00:55 -0400, Michał Nowotka > wrote: > > Thanks for advices. Un

Re: [Rdkit-discuss] problem with RDKit configuration on apache and wsgi

2013-09-10 Thread Markus Sitzmann
Are you trying to use it with python/mod_wsgi? Your description so far is a bit vague :-)MarkusOn Tue, 10 Sep 2013 15:00:55 -0400, Michał Nowotka wrote:Thanks for advices. Unfortunately I can't do anything system-wide as I don't have administrator privileges on the server. Than also means I can't