#2515 PR merged: Restore the LD_LIBRARY_PATH after reporting binaries with 'not found' shared objects

Labels: fixed / solved / done, minor bug

jsmeix opened issue at 2020-11-12 08:17:

Of course things still work for me on my openSUSE Leap 15.1 system
but I do not use any special LD_LIBRARY_PATH so my test is rather meaningless.
I have to wait for @dcz01 feedback on
https://github.com/rear/rear/issues/2508#issuecomment-725921174

  • Brief description of the changes in this pull request:

In 990_verify_rootfs.sh restore the LD_LIBRARY_PATH
after reporting binaries with 'not found' shared object dependencies
so that results are the same for the first 'ldd' run that finds binaries
with 'not found' shared objects dependencies and the second 'ldd' run
that reports those 'not found' shared objects dependencies, see
https://github.com/rear/rear/issues/2508#issuecomment-725914211

jsmeix commented at 2020-11-12 15:14:

https://github.com/rear/rear/issues/2508#issuecomment-726138922
shows that with this change things work as expected
so I "just merge" it right now.


[Export of Github issue for rear/rear.]