Arfrever Frehtes Taifersar Arahesis added the comment:

> Oh, another problem: if Python is compiled in shared module, libpython3.4.so 
> cannot be found.
> LD_LIBRARY_PATH must also be copied if __cleanenv=True. Py_ENABLE_SHARED can 
> be checked in
> sysconfig to decide if the environment variable should be copied or not.

The name of variable is specific to operating system.
Potentially incomplete list based on value of RUNSHARED variable in 
configure.ac:
  AIX:                                                      LIBPATH
  HP-UX:                                                    SHLIB_PATH
  Linux, GNU Hurd, *BSD, SunOS:                             LD_LIBRARY_PATH
  Mac OS X (with --enable-shared):                          DYLD_LIBRARY_PATH
  Mac OS X (with --disable-shared and --enable-framework):  DYLD_FRAMEWORK_PATH

----------
nosy: +Arfrever

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to