I have a program that runs under Linux. The program crashes if a particular library exists on the system but runs normally if the library is not present. (It only seems to look for the library at first run, but doesn't care if it can't find it. If the library is present during subsequent runs, the program seems to ignore it.)
I would like to limit the libraries that the program can use at runtime. How can I achieve this?
Constraints and Possibilities:
- I cannot modify the program.
- I cannot upgrade or change the existing libraries on the system.
- I can wrap the program in a shell script or call it from my own program.
Edit: It is a modified derivative of Firefox that is is not publicly available. Indeed, as Faheem Mitha suspects, it seems to be creating something in the user profile. I'm not sure what it is at this time.