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
  • 14,451
  • 16
  • 82
  • 145
BSalunke
  • 11,499
  • 8
  • 34
  • 68
  • 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