Unfortunately, I use CentOS 6.9 that relies on glibc 2.12, that cannot be updated.
Solution: Use a Docker file to run the Clojure tests.
Source: https://store.docker.com/images/clojure
docker pull clojure
- Dockerfile
FROM clojure RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY project.clj /usr/src/app/ RUN lein deps COPY . /usr/src/app RUN lein uberjar CMD ["lein", "test"]
set -x cd ~/av-usage cp ~/tmp/clojure/docker/Dockerfile Dockerfile.test docker build -f Dockerfile.test -t av-usage-test . rm Dockerfile.test
set -x docker run -it --rm --name my-av-usage-test av-usage-test