3

I've done the following command to set the path for LD_PRELOAD. But it's the wrong path.

export LD_PRELOAD=/home/

Does anyone know what is the default path for LD_PRELOAD on Ubuntu 12.04? What is the exact command to reset the export?

Flyk
  • 1,480
  • 3
  • 18
  • 24
alvas
  • 3,027

1 Answers1

7

There is no default LD_PRELOAD variable, or, in other words, it is empty. You can revert to that state by typing

unset LD_PRELOAD

LD_PRELOAD is not to specify the libraries found in the regular case; it is just here to specify an order of library loading that is different from the regular one (determined by ldconfig(8)).

January
  • 37,208