Park, You have LD_LIBRARY_PATH set up for your shell which the webserver known nothing about. You should set up LD_LIBRARY_PATH for the apache (or whatever httpd daemon you have) process.
I would do this in the script itself before importing openbabel module. Igor On Wed, 2012-04-25 at 03:16 -0400, Park Hyerin wrote: > > Thanks for your advice. > I checked web server error log and I found this message. > > > > > [error] [client xxx.xxx.xxx.xx] ImportError: libopenbabel.so.4: cannot > open shared object file: No such file or directory, referer: > ------.html > > > > > So I tried to fix this error and I found this error related with > LD_LIBRARY_PATH. > However, I wrote right LD_LIBRARY_PATH... > > > > > # echo $LD_LIBRARY_PATH > /usr/local/lib > > > # ll /usr/local/lib | grep libopenbabel > lrwxrwxrwx 1 root root 17 2012-04-09 17:17 libopenbabel.so -> > libopenbabel.so.4 > lrwxrwxrwx 1 root root 21 2012-04-09 17:17 libopenbabel.so.4 -> > libopenbabel.so.4.0.1 > -rwxr-xr-x 1 root root 19634558 2012-04-12 13:57 libopenbabel.so.4.0.1 > > > > > Maybe I guess web server cannot access to library folder, so I changed > permission of library folder to 755. > However, this problem wasn't fixed. > > > Can I get more advice? > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss