code: def get_system_python_library():
      
      import os
      import utool as ut
      from os.path import basename, realpath
      pyname = basename(realpath(sys.executable))
      ld_library_path = os.environ['LD_LIBRARY_PATH']
      libdirs = [x for x in ld_library_path.split(os.pathsep) if x] + ['/usr/lib']
      libfiles = ut.flatten([ut.glob(d, '*' + ut.get_lib_ext(), recursive=True) for d in libdirs])
      python_libs = [realpath(f) for f in libfiles if 'lib' + pyname in basename(f)]
      python_libs = ut.unique_ordered(python_libs)
      assert len(python_libs) == 1, str(python_libs)
      return python_libs[0]
docs: FIXME; hacky way of finding python library. Not cross platform yet.