Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!julius.cs.uiuc.edu!wuarchive!udel!princeton!sakhmet!reed From: reed@sakhmet.Princeton.EDU (Michael J. Reed) Newsgroups: comp.windows.x Subject: Different dynamic loading libraries Message-ID: <5232@idunno.Princeton.EDU> Date: 11 Jan 91 19:37:16 GMT Sender: news@idunno.Princeton.EDU Reply-To: reed@sakhmet.Princeton.EDU (Michael J. Reed) Organization: Dept. of Elec. Eng. Lines: 20 I have two sets of applications, one system wide set available on /usr/princeton/bin/X11, one local set available in /usr/local/bin/X11. Each has their corresponding default files in /usr/princeton/lib/X11/app-defaults and /usr/local/lib/X11/app-defaults, respectively. When I don't set LD_LIBRARY_PATH=/usr/princeton/lib some system wide applications load the local libraries and try to read the local application files (which don't exist). When I do set LD_LIBRARY_PATH, local applications load the princeton libaries and only read the local application files if the system wide files do not exist. How do I arrange it so that system wide applications load system libraries, local files load local libraries and, consequently, each loads the "right" application defaults? Thanks for any help, Michael Reed