linux LD_LIBRARY_PATH handling

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
linux LD_LIBRARY_PATH handlinganholt02/21/2009 - 14:40

This one is likely to trip up users that are temporarily testing new graphics drivers, resulting in poor performance.  The .deb installed a wrapper script which did:

export LD_LIBRARY_PATH=libs

which means that any existing user LD_LIBRARY_PATH gets ignored.  Just changing that to

export LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH

means your libs still get precedence, but the user's path preferences over the system defaults also get respected.