LD_LIBRARY_PATH - how to set?

Roman Yakovenko roman.yakovenko at gmail.com
Thu Mar 31 00:08:18 EST 2005


Hi. I have small problem. I need to load extension module that depends
on shared library. Before actually importing module I tried to edit
os.environ or to call directly to os.putenv without any success -
shared library was not found. I tried to search the Internet for the
answer. The only approach I saw was to set LD_LIBRARY_PATH before
invoking python script. I don't like this solution.

Roman



More information about the Python-list mailing list