Unit tests crashing if user system contains own googletest library in LD_LIBRARY_PATH
|Status:||Rejected||Start date:||30 Oct 2018|
|Target version:||Sprint 39|
Within this item, add rpath to our own google tests library location to every unit test executable.
#2 Updated by pospelov about 1 year ago
- Status changed from Sprint to Rejected
It turned out that there is no good way to handle third party libraries appearing in LD_LIBRARY_PATH. Hacking RPATH is possible, but considered as bad practice and it has lots of side effects (for example, the behavior of BornAgain unit test in IDE). That's why we have decided to drop any attempts to protect against malicious libraries in LD_LIBRARY_PATH.
It is a responsibility of the user for LD_LIBRARY_PATH content.