0

Im working with C++ application. I want to load my shared library to be loaded before any shared library loaded to my application.

One way is to use LD_PRELOAD in the code. But is it possible to do above scenario without using LD_PRELOAD?

Qix - MONICA WAS MISTREATED
  • 12,202
  • 13
  • 73
  • 131
BSalunke
  • 10,309
  • 8
  • 31
  • 57
  • 2
    This would be a better question if you explained what you don't like about `LD_PRELOAD`. – us2012 Feb 28 '13 at 09:01
  • 1
    Not to mention what you expect will happen when the next person in line behind you has the same requirement. Planning on thumb-wrestling to see who gets to be the "first" first-loader? – WhozCraig Feb 28 '13 at 09:02

0 Answers0