And can I use the same code for libraries using other libraries of the same package, by changing "bin" to "lib" in the code snippet?
For instance, one has
$ ldd /nix/store/bplvsx34rzpn85vly086l0jhmhil9ncg-icu4c-50.1.1/lib/libicuuc.so
...
libicudata.so.50 => not found
...
where the unfound library resides in the same directory.
Andreas
