5 __doc__ =
"""Print the full path of the requested shared library, as found in LD_LIBRARY_PATH.
6 Wildcards are accepted, in which case all (first) matches are printed.
7 The 'lib' prefix and 'so' suffix can be omitted. If no match if found, nothing is printed."""
10 use =
"usage: %s <library> [library]" % os.path.basename(sys.argv[0])
11 print(use + os.linesep*2 + __doc__)
13 if len(sys.argv) <= 1:
18 from PyJobTransformsCore.envutil
import find_libraries
20 raise EnvironmentError(
"ATLAS Runtime environment not setup.")
22 for lib
in sys.argv[1:]:
24 for f
in full:
print(f)