Re: [cx-freeze-users] Mega-freeze?
Brought to you by:
atuining
From: Ed L. <ed...@le...> - 2004-08-23 19:56:17
|
On Aug 23, 2004, at 3:24 PM, Roger Binns wrote: > libdl is used to load shared libraries and other shared objects > almost always from explicit calls made by programmers. ld-linux > implements the shared library loading mechanism and is called > by the program before functions like main() are ever reached. > ld-linux knows about things like $LD_LIBRARY_PATH, linker > caches etc. How can you change things like $LD_LIBRARY_PATH at runtime then? Hasn't ld-linux already grabbed its value? Here's a more fundamental question: how can I change the value of PATH *before* it gets loaded? IOW, assume I have the following: /lib ld-linux.so.2 /frozen MyFrozenApp freezelib/ ld-linux.so.2 The copy of ld-linux.so.2 in /lib is the one that is installed on the machine. The one in /frozen/freezelib is the version that was on my build machine, and which will work with MyFrozenApp. Is it possible to change the PATH environmental variable, or otherwise tell the OS to look in /frozen/freezelib instead of /lib? ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://dabodev.com/ |