auto LD_LIBRARY_PATH loading?

Randall Hopper aa8vb at
Thu Feb 28 19:41:01 CET 2002

Jeff Shipman - SysProg:
 |I need to be able to have DCOracle run without me explicity
 |setting the LD_LIBRARY_PATH before starting python. Is there
 |a way I can modify python to automatically add certain
 |paths to LD_LIBRARY_PATH?

Usually it's an argument to the linker.  Check your ld docs for details.  
Solaris: -R<path> ; IRIX: -rpath <path> etc.  How you pass this to the
Python build nowadays I'm not sure -- maybe 'env LDFLAGS="-R..." configure'


Randall Hopper
aa8vb at

More information about the Python-list mailing list