dynamic linking and LD_PRELOAD potential problems

Bernardo Pastorelli <berpast@hotmail.com>
4 Jan 2003 22:47:46 -0500

          From comp.compilers

Related articles
dynamic linking and LD_PRELOAD potential problems berpast@hotmail.com (Bernardo Pastorelli) (2003-01-04)
| List of all articles for this month |

From: Bernardo Pastorelli <berpast@hotmail.com>
Newsgroups: comp.compilers
Date: 4 Jan 2003 22:47:46 -0500
Organization: Compilers Central
Keywords: linker, question
Posted-Date: 04 Jan 2003 22:47:46 EST

Some operating system providers (like HP or Sun) state that it is
possible to have problems when using the LD_PRELOAD environment
variable with the dynamic linker. Sometimes it seems the problem is
related to the different order of libraries initialization generated
by the use of LD_PRELOAD. Other times it seems related to the problem
of mixing static and dynamic libraries.

Does anyone have some experience with it? Or can provide more details
on the problem (both theoretical and practical)? Some pieces of code
explaining the problems would be very appreciated.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.