[unixODBC-support] unixodbc and mod_python

Martin J. Evans martin.evans at easysoft.com
Tue Apr 19 08:38:34 BST 2005

You haven't said what platform and what web server. On some platforms the
environment variable is not LD_LIBRARY_PATH. On some platforms you can avoid
having to set an env var (e.g. Linux by adding paths to /etc/ld.so.conf and
running ldconfig).

How have you set LD_LIBRARY_PATH in your httpd.conf and did you restart your
web server afterwards?

Martin J. Evans
Easysoft Ltd, UK

On 18-Apr-2005 kellie hobbs wrote:
> Hi,
> I'm trying to use unixodbc in a mod_python script; it works fine in
> Python, but in mod_python I get an OperationalError: "Can't open
> lib"... The LD_LIBRARY_PATH is set in httpd.conf. Any ideas?
> Thanks.
> Kellie Hobbs

More information about the unixODBC-support mailing list