compiled linux libs with distance functions